From f6cf48d3cbf52be1ad9a0fee7216131d08e3584b Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Fri, 23 May 2025 19:25:41 +0200 Subject: [PATCH] update github action --- .github/workflows/node.js.yml | 3 +-- test/package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 91d672f..34289d8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,6 +18,7 @@ jobs: build: # Containers must run in Linux based operating systems runs-on: ubuntu-latest + timeout-minutes: 10 # # Docker Hub image that `container-job` executes in # container: node:20-bookworm-slim @@ -59,9 +60,7 @@ jobs: with: java-version: 21 - run: npm install - - run: npm run build:light --if-present - run: npm run build:compact --if-present - - run: npm run build:module:light --if-present - run: npm run build:module:compact --if-present - run: npm install clickhouse - run: npm install redis diff --git a/test/package.json b/test/package.json index 752c5cc..98b2b19 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.light.min && mocha ./*.js --exit flexsearch.light.module.min && mocha ./*.js --exit flexsearch.compact.min && mocha ./*.js --exit flexsearch.compact.module.min", + "test:github": "npm run test:ts && mocha ./*.js --exit flexsearch.compact.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",