Skip to content

Commit 6a08b5b

Browse files
committed
update github action
1 parent 0306503 commit 6a08b5b

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,13 @@ jobs:
7171
- run: npm run build:module:light --if-present
7272
- run: npm install
7373
working-directory: test
74-
- run: npm run test:github
74+
- run: npm run test:github-1
75+
working-directory: test
76+
- run: npm run test:github-2
77+
working-directory: test
78+
- run: npm run test:github-3
79+
working-directory: test
80+
- run: npm run test:github-4
81+
working-directory: test
82+
- run: npm run test:github-5
7583
working-directory: test

test/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"scripts": {
55
"test": "mocha ./*.js --exit",
66
"test:ts": "npx tsc --noEmit --lib esnext ./types.ts",
7-
"test:github": "npm run test:ts && mocha ./*.js --exit flexsearch.light.min && mocha ./*.js --exit flexsearch.light.module.min && mocha ./*.js --exit flexsearch.compact.min && mocha ./*.js --exit flexsearch.compact.module.min",
7+
"test:github-1": "npm run test:ts ",
8+
"test:github-2": "mocha ./*.js --exit flexsearch.light.min",
9+
"test:github-3": "mocha ./*.js --exit flexsearch.light.module.min",
10+
"test:github-4": "mocha ./*.js --exit flexsearch.compact.min",
11+
"test:github-5": "mocha ./*.js --exit flexsearch.compact.module.min",
812
"test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit",
913
"test:keystore": "set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c ./.c8rc.json mocha ./keystore.js --exit",
1014
"test:db": "c8 -c ./.c8rc.json mocha ./persistent.*.js --exit",

0 commit comments

Comments
 (0)