File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 node-version :
15- - 21
15+ - 22
1616 - 20
1717 - 18
1818 name : Node.js ${{ matrix.node-version }} Quick
4545 - name : Install Node.js LTS
4646 uses : actions/setup-node@v4
4747 with :
48- node-version : 20
48+ node-version : 22
4949 cache : pnpm
5050 - name : Install dependencies
5151 run : pnpm install --ignore-scripts
Original file line number Diff line number Diff line change 3030 "scripts" : {
3131 "test:lint" : " eslint ." ,
3232 "test:help" : " node bin.js --help | node test/find.js Usage" ,
33- "test:only" : " node bin.js -t two | node test/find.js 'skipped 2 '" ,
34- "test:pathless" : " node bin.js | node test/find.js 'tests 3 '" ,
35- "test:path" : " node bin.js test/*.test.js | node test/find.js 'tests 1 '" ,
33+ "test:only" : " node bin.js -t two | node test/find.js 'pass 3 '" ,
34+ "test:pathless" : " node bin.js | node test/find.js 'tests 6 '" ,
35+ "test:path" : " node bin.js test/*.test.js | node test/find.js 'tests 2 '" ,
3636 "test" : " pnpm run /^test:/"
3737 },
3838 "devDependencies" : {
Original file line number Diff line number Diff line change 11import { equal } from 'node:assert'
22import { test } from 'node:test'
33
4+ test ( 'one' , ( ) => {
5+ equal ( 1 , 1 )
6+ } )
7+
48test ( 'two' , ( ) => {
59 equal ( 2 , 2 )
610} )
Original file line number Diff line number Diff line change @@ -4,3 +4,7 @@ import { test } from 'node:test'
44test ( 'one' , ( ) => {
55 equal ( 1 , 1 )
66} )
7+
8+ test ( 'two' , ( ) => {
9+ equal ( 2 , 2 )
10+ } )
Original file line number Diff line number Diff line change @@ -4,3 +4,7 @@ import { test } from 'node:test'
44test ( 'one' , ( ) => {
55 equal ( 1 , 1 )
66} )
7+
8+ test ( 'two' , ( ) => {
9+ equal ( 2 , 2 )
10+ } )
You can’t perform that action at this time.
0 commit comments