mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-31 17:42:13 +02:00
fix github action
This commit is contained in:
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
@@ -55,9 +55,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm install
|
||||||
- run: npm run build:bundle --if-present
|
- run: npm run build:bundle --if-present
|
||||||
- run: npm ci
|
- run: npm install
|
||||||
working-directory: test
|
working-directory: test
|
||||||
- run: npm run test:github
|
- run: npm run test:github
|
||||||
working-directory: test
|
working-directory: test
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha ./*.js --exit",
|
"test": "mocha ./*.js --exit",
|
||||||
"test:ts": "npx tsc --noEmit --lib esnext ./types.ts",
|
"test:ts": "npx tsc --noEmit --lib esnext ./types.ts",
|
||||||
"test:github": "npm run test:ts && mocha ./*.js --exit flexsearch.compact.module.min && mocha ./*.js --exit flexsearch.compact.min",
|
"test:github": "npm run test:ts && mocha ./*.js --exit flexsearch.light.min && mocha ./*.js --exit flexsearch.compact.module.min",
|
||||||
"test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit",
|
"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: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",
|
"test:db": "c8 -c ./.c8rc.json mocha ./persistent.*.js --exit",
|
||||||
|
Reference in New Issue
Block a user