File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 36
36
run : npm run lint
37
37
38
38
- name : Run the tests
39
- run : npm test -- --coverage
39
+ run : npm run jest:ci -- --coverage
40
40
41
41
- name : Upload coverage reports to Codecov with GitHub Action
42
42
uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change 37
37
run : npm run lint
38
38
39
39
- name : Run the tests
40
- run : npm test
40
+ run : npm run jest:ci
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ test/static: dependencies
65
65
npm run lint
66
66
67
67
test : env dependencies test/static
68
- npm run test
68
+ npm run jest:ci
69
69
70
70
coverage : test
71
71
Original file line number Diff line number Diff line change 25
25
"typescript" : " ^5.4.5"
26
26
},
27
27
"scripts" : {
28
+ "start" : " npm run test" ,
28
29
"lint" : " npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'" ,
29
- "test" : " jest"
30
+ "jest:ci" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
31
+ "jest:bruteforce" : " BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
32
+ "jest:watch" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll" ,
33
+ "prettier" : " npx prettier --write 'src/**/*.js'" ,
34
+ "test" : " jest" ,
35
+ "update-all" : " npm install $(npm outdated | cut -d' ' -f 1 | sed '1d' | xargs -I '$' echo '$@latest' | xargs echo)"
30
36
}
31
37
}
You can’t perform that action at this time.
0 commit comments