mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-26 23:35:45 +02:00
update github action
This commit is contained in:
10
.github/workflows/node.js.yml
vendored
10
.github/workflows/node.js.yml
vendored
@@ -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
|
||||
|
@@ -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("----------------------");
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user