File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1515jobs :
1616 lint :
1717 runs-on : ubuntu-latest
18+ strategy :
19+ matrix :
20+ node_version : [ 22, 24 ]
1821 steps :
1922 - uses : actions/checkout@v3
20- - name : Use Node.js
23+ - name : Use Node.js ${{ matrix.node_version }}
2124 uses : actions/setup-node@v3
2225 with :
23- node-version-file : .node-version
26+ node-version : ${{ matrix.node_version }}
2427 - run : yarn --frozen-lockfile
2528 - run : yarn lint
2629
2730 test :
2831 runs-on : ubuntu-latest
32+ strategy :
33+ matrix :
34+ node_version : [ 22, 24 ]
2935 steps :
3036 - uses : actions/checkout@v3
31- - name : Use Node.js
37+ - name : Use Node.js ${{ matrix.node_version }}
3238 uses : actions/setup-node@v3
3339 with :
34- node-version-file : .node-version
40+ node-version : ${{ matrix.node_version }}
3541 - uses : actions-rs/toolchain@v1
3642 with :
3743 toolchain : stable
You can’t perform that action at this time.
0 commit comments