1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-30 17:20:17 +02:00

update github action

This commit is contained in:
Thomas Wilkerling
2025-05-23 19:47:07 +02:00
parent 03065030ee
commit 6a08b5bc2c
2 changed files with 14 additions and 2 deletions

View File

@@ -71,5 +71,13 @@ jobs:
- run: npm run build:module:light --if-present
- run: npm install
working-directory: test
- run: npm run test:github
- run: npm run test:github-1
working-directory: test
- run: npm run test:github-2
working-directory: test
- run: npm run test:github-3
working-directory: test
- run: npm run test:github-4
working-directory: test
- run: npm run test:github-5
working-directory: test

View File

@@ -4,7 +4,11 @@
"scripts": {
"test": "mocha ./*.js --exit",
"test:ts": "npx tsc --noEmit --lib esnext ./types.ts",
"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",
"test:github-1": "npm run test:ts ",
"test:github-2": "mocha ./*.js --exit flexsearch.light.min",
"test:github-3": "mocha ./*.js --exit flexsearch.light.module.min",
"test:github-4": "mocha ./*.js --exit flexsearch.compact.min",
"test:github-5": "mocha ./*.js --exit flexsearch.compact.module.min",
"test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit",
"test:keystore": "set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c ./.c8rc.json mocha ./keystore.js --exit",
"test:db": "c8 -c ./.c8rc.json mocha ./persistent.*.js --exit",