diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6b0c342..91d672f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -59,7 +59,15 @@ jobs: with: java-version: 21 - run: npm install - - run: npm run build:bundle --if-present + - 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 + - run: npm install mongodb + - run: npm install pg-promise + - run: npm install sqlite3 - run: npm install working-directory: test - run: npm run test:github diff --git a/test/async.js b/test/async.js index 005c50e..46d6b02 100644 --- a/test/async.js +++ b/test/async.js @@ -1,8 +1,6 @@ global.self = global; const env = process.argv[process.argv.length - 1] === "--exit" ? "" : process.argv[process.argv.length - 1]; import { expect } from "chai"; - -console.log(process.argv) console.log("--RELEASE-------------"); console.log(env ? "dist/" + env + ".js" : "src/bundle.js") console.log("----------------------"); diff --git a/test/package.json b/test/package.json index 98b2b19..752c5cc 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.min && mocha ./*.js --exit flexsearch.compact.module.min", + "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: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",