From d77f578b89f64dcfd52700cb4f073dad102d7be3 Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Wed, 21 May 2025 16:29:14 +0200 Subject: [PATCH] fix github action --- .github/workflows/node.js.yml | 4 ++-- test/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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",