File tree Expand file tree Collapse file tree 6 files changed +13
-9
lines changed
Expand file tree Collapse file tree 6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,13 @@ jobs:
2222 runs-on : ubuntu-latest
2323
2424 steps :
25+ - name : Checkout code
26+ uses : actions/checkout@v4
27+
2528 - name : Setup Node.js
2629 uses : actions/setup-node@v4
2730 with :
28- node-version : ' 20.x '
31+ node-version-file : ' .nvmrc '
2932 registry-url : ' https://registry.npmjs.org'
3033
3134 - name : Deprecate version
Original file line number Diff line number Diff line change 1818 token : ${{ secrets.GITHUB_TOKEN }}
1919
2020 - name : Setup Node.js
21- uses : actions/setup-node@v3
21+ uses : actions/setup-node@v4
2222 with :
23- node-version : ' 20.x '
23+ node-version-file : ' .nvmrc '
2424 registry-url : ' https://registry.npmjs.org'
2525
2626 - name : NPM Install
Original file line number Diff line number Diff line change 2020 - name : Setup Node.js
2121 uses : actions/setup-node@v4
2222 with :
23- node-version : ' 20.x '
23+ node-version-file : ' .nvmrc '
2424
2525 - name : Install dependencies
2626 run : npm ci
Original file line number Diff line number Diff line change 3939
4040 - uses : actions/setup-node@v4
4141 with :
42- node-version : ' 24.x '
42+ node-version-file : ' .nvmrc '
4343 registry-url : ' https://registry.npmjs.org'
4444
4545 - run : npm ci
@@ -102,7 +102,7 @@ jobs:
102102
103103 - uses : actions/setup-node@v4
104104 with :
105- node-version : ' 24.x '
105+ node-version-file : ' .nvmrc '
106106 registry-url : ' https://registry.npmjs.org'
107107
108108 - name : Get version from package.json
@@ -192,7 +192,7 @@ jobs:
192192
193193 - uses : actions/setup-node@v4
194194 with :
195- node-version : ' 24.x '
195+ node-version-file : ' .nvmrc '
196196
197197 - run : npm ci
198198
@@ -348,7 +348,7 @@ jobs:
348348
349349 - uses : actions/setup-node@v4
350350 with :
351- node-version : ' 24.x '
351+ node-version-file : ' .nvmrc '
352352 registry-url : ' https://registry.npmjs.org'
353353
354354 - run : npm ci
Original file line number Diff line number Diff line change 1414 - name : Setup Node.js
1515 uses : actions/setup-node@v4
1616 with :
17- node-version : ' 24.x '
17+ node-version-file : ' .nvmrc '
1818 registry-url : ' https://registry.npmjs.org'
1919
2020 - name : Install dependencies
Original file line number Diff line number Diff line change 1+ 24
You can’t perform that action at this time.
0 commit comments