File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Unit Tests
2
+ on : push
3
+ permissions : read-all
4
+ jobs :
5
+ vitest :
6
+ name : Vitest on ${{ matrix.os }} (Node.js v${{ matrix.node }})
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : ["ubuntu-latest", "macos-latest", "windows-latest"]
11
+ node : ["20", "22", "24"]
12
+ steps :
13
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
14
+ - name : Setup node
15
+ uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3
16
+ with :
17
+ node-version : ${{ matrix.node }}
18
+ - run : npm ci
19
+ - run : npm run test
20
+ env :
21
+ YARN_GPG : no
Original file line number Diff line number Diff line change 8
8
"test" : " vitest"
9
9
},
10
10
"engines" : {
11
- "node" : " >=18 "
11
+ "node" : " >=20 "
12
12
},
13
13
"funding" : {
14
14
"type" : " opencollective" ,
You can’t perform that action at this time.
0 commit comments