File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 main :
11- runs-on : ${{ matrix.os }}
12-
13- strategy :
14- matrix :
15- os : [ubuntu-latest]
16- node-version : [22.x]
11+ runs-on : ubuntu-latest
1712
1813 steps :
19- - uses : actions/checkout@v4
20-
21- - uses : actions/setup-node@v4
22- with :
23- node-version : " ${{ matrix.node-version }}"
14+ - uses : actions/checkout@v6
2415
25- - id : cache-node_modules
26- uses : actions/cache@v4
16+ - uses : actions/setup-node@v6
2717 with :
28- path : node_modules
29- key : node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package.json', 'package-lock.json') }}
18+ node-version : 24
3019
31- - if : steps.cache-node_modules.outputs.cache-hit != 'true'
32- run : npm ci --no-audit
20+ - run : npm ci --no-audit
3321
3422 - run : npm run build
3523
Original file line number Diff line number Diff line change @@ -13,23 +13,16 @@ jobs:
1313 strategy :
1414 matrix :
1515 os : [ubuntu-latest, macOS-latest, windows-latest]
16- node-version : [18.x, 20.x , 22.x ]
16+ node-version : [20 , 22, 24 ]
1717
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v6
2020
21- - uses : actions/setup-node@v4
21+ - uses : actions/setup-node@v6
2222 with :
2323 node-version : " ${{ matrix.node-version }}"
2424
25- - id : cache-node_modules
26- uses : actions/cache@v4
27- with :
28- path : node_modules
29- key : node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package.json', 'package-lock.json') }}
30-
31- - if : steps.cache-node_modules.outputs.cache-hit != 'true'
32- run : npm ci --no-audit
25+ - run : npm ci --no-audit
3326
3427 - run : npm run build
3528
You can’t perform that action at this time.
0 commit comments