Skip to content

Commit acca42d

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] npm run jest:ci rewrite.
[CONFIG] [Github Actions] NodeJS rewrite.
1 parent a7da7d1 commit acca42d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
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.json

Lines changed: 3 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": "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": "BRUTEFORCE=true NODE_OPTIONS=--experimental-vm-modules npx jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
14+
"jest:watch": "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",

0 commit comments

Comments
 (0)