File tree Expand file tree Collapse file tree 6 files changed +14
-10
lines changed
Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,19 @@ jobs:
1212 build :
1313 runs-on : ubuntu-latest
1414
15+ strategy :
16+ matrix :
17+ node-version : [18.x, 20.x, 22.x]
18+
1519 steps :
1620 - uses : actions/checkout@v4
17- - name : Use Node.js 16.15
21+ - name : Use Node.js ${{ matrix.node-version }}
1822 uses : actions/setup-node@v4
1923 with :
20- node-version : 16.15
24+ node-version : ${{ matrix.node-version }}
2125 cache : ' npm'
2226 registry-url : ' https://npm.pkg.github.com'
23- - run : npm ci
27+ - run : npm ci --engine-strict
2428 env :
2529 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2630 - run : npm run format-check -ws
@@ -33,10 +37,10 @@ jobs:
3337
3438 steps :
3539 - uses : actions/checkout@v4
36- - name : Use Node.js 16.15
40+ - name : Use Node.js 22.x
3741 uses : actions/setup-node@v4
3842 with :
39- node-version : 16.15
43+ node-version : 22.x
4044 cache : ' npm'
4145 registry-url : ' https://npm.pkg.github.com'
4246 - run : npm ci
Original file line number Diff line number Diff line change 6969
7070 - uses : actions/setup-node@v4
7171 with :
72- node-version : 16 .x
72+ node-version : 22 .x
7373 cache : " npm"
7474 scope : ' @actions'
7575
Original file line number Diff line number Diff line change 4444 "watch" : " tsc --build tsconfig.build.json --watch"
4545 },
4646 "engines" : {
47- "node" : " >= 16.15 "
47+ "node" : " >= 18 "
4848 },
4949 "files" : [
5050 " dist/**/*"
Original file line number Diff line number Diff line change 5252 "yaml" : " ^2.1.3"
5353 },
5454 "engines" : {
55- "node" : " >= 16.15 "
55+ "node" : " >= 18 "
5656 },
5757 "files" : [
5858 " dist/**/*"
Original file line number Diff line number Diff line change 5555 "yaml" : " ^2.1.1"
5656 },
5757 "engines" : {
58- "node" : " >= 16.15 "
58+ "node" : " >= 18 "
5959 },
6060 "files" : [
6161 " dist/**/*"
Original file line number Diff line number Diff line change 5353 "yaml" : " ^2.0.0-8"
5454 },
5555 "engines" : {
56- "node" : " >= 16.15 "
56+ "node" : " >= 18 "
5757 },
5858 "files" : [
5959 " dist/**/*"
You can’t perform that action at this time.
0 commit comments