From 6a08b5bc2cb2690495ad2520972805c2a136d7a5 Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Fri, 23 May 2025 19:47:07 +0200 Subject: [PATCH] update github action --- .github/workflows/node.js.yml | 10 +++++++++- test/package.json | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 5c6d75b..a677468 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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 diff --git a/test/package.json b/test/package.json index 752c5cc..2fe5fb8 100644 --- a/test/package.json +++ b/test/package.json @@ -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",