diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index eafdda8..d504cf2 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -55,9 +55,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci + - run: npm install - run: npm run build:bundle --if-present - - run: npm ci + - run: npm install working-directory: test - run: npm run test:github working-directory: test diff --git a/test/package.json b/test/package.json index b34042d..077294b 100644 --- a/test/package.json +++ b/test/package.json @@ -4,7 +4,7 @@ "scripts": { "test": "mocha ./*.js --exit", "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: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",