Skip to content

Commit 63a7a3a

Browse files
authored
Merge pull request #598 from sir-gon/develop
[CONFIG] [Github Actions] npm run jest:ci rewrite.
2 parents a7da7d1 + 55d47b1 commit 63a7a3a

File tree

3 files changed

+36
-22
lines changed

3 files changed

+36
-22
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
os: ["ubuntu-24.04", "macos-14"
20-
# , "windows-2022"
21-
]
19+
os: ["ubuntu-24.04", "macos-14", "windows-2022"]
2220
node-version: [18.x, 20.x, 22.x]
2321
# See supported Node.js release schedule
2422
# at https://nodejs.org/en/about/releases/

package-lock.json

Lines changed: 31 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"start": "npm run test",
99
"lint": "npx --yes eslint --env-info; npx --yes eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'",
1010
"lint:watch": "npx --yes esw . --color --max-warnings=0 --watch",
11-
"jest:ci": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
11+
"jest:ci": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
1212
"jest:clean": "npx --yes jest --clearCache && npx --yes watchman watch-del-all",
13-
"jest:bruteforce": "BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
14-
"jest:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll",
13+
"jest:bruteforce": "cross-env BRUTEFORCE=true NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
14+
"jest:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll",
1515
"style:format": "npx --yes prettier --write 'src/**/*.js'",
1616
"style:check": "npx --yes prettier --check 'src/**/*.js'",
1717
"test": "npm run jest:ci",
@@ -30,6 +30,7 @@
3030
"@eslint/js": "^9.15.0",
3131
"@jest/globals": "^29.7.0",
3232
"concurrently": "9.1.0",
33+
"cross-env": "^7.0.3",
3334
"eslint": "^8.57.1",
3435
"eslint-config-airbnb-base": "15.0.0",
3536
"eslint-config-prettier": "9.1.0",

0 commit comments

Comments
 (0)