mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-28 16:20:04 +02:00
update github action
This commit is contained in:
3
.github/workflows/node.js.yml
vendored
3
.github/workflows/node.js.yml
vendored
@@ -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
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user