Skip to content

Commit 6acad33

Browse files
Bump actions/setup-node from 4 to 5 (#27760)
* Bump actions/setup-node from 4 to 5 * fix(workflows): disable setup-node cache explicitly Set `package-manager-cache` explicitly. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claas Augner <[email protected]>
1 parent 5d536f1 commit 6acad33

File tree

9 files changed

+18
-9
lines changed

9 files changed

+18
-9
lines changed

.github/workflows/add-push-artifacts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0 # get the full repository checkout, not just the inciting commit
17-
- uses: actions/setup-node@v4
17+
- uses: actions/setup-node@v5
1818
with:
1919
node-version-file: ".nvmrc"
2020
cache: npm
21+
package-manager-cache: true
2122
- run: npm ci
2223
- run: npx tsx ./scripts/enumerate-features.ts features.json
2324
- run: npx tsx ./scripts/diff-features.ts --no-github --format=json > features.diff.json

.github/workflows/node.js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v5
17-
- uses: actions/setup-node@v4
17+
- uses: actions/setup-node@v5
1818
with:
1919
node-version-file: ".nvmrc"
2020
cache: npm
21+
package-manager-cache: true
2122
- run: npm ci
2223
- run: npm test
2324
env:

.github/workflows/pr-review-companion.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
uses: actions/checkout@v5
2424

2525
- name: Setup Node.js
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v5
2727
with:
2828
node-version-file: ".nvmrc"
29+
package-manager-cache: false
2930

3031
- name: Install
3132
run: npm ci

.github/workflows/release-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ jobs:
3232
token: ${{ secrets.GH_TOKEN }}
3333

3434
- name: Setup Node
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v5
3636
with:
3737
node-version-file: ".nvmrc"
38+
package-manager-cache: false
3839
registry-url: "https://registry.npmjs.org/"
3940

4041
- name: "Setup git"

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ jobs:
4141
steps:
4242
- uses: actions/checkout@v5
4343

44-
- uses: actions/setup-node@v4
44+
- uses: actions/setup-node@v5
4545
with:
4646
node-version-file: ".nvmrc"
47+
package-manager-cache: false
4748
registry-url: "https://registry.npmjs.org/"
4849

4950
- run: npm ci

.github/workflows/update-browser-releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ jobs:
2222
with:
2323
fetch-depth: 0 # get the full repository checkout, not just the inciting commit
2424

25-
- uses: actions/setup-node@v4
25+
- uses: actions/setup-node@v5
2626
with:
2727
node-version-file: ".nvmrc"
28+
package-manager-cache: false
2829

2930
- run: npm install -D typescript
3031

.github/workflows/update-mdn-urls.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
token: ${{ secrets.GH_TOKEN }}
2424

2525
- name: Setup Node.js
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v5
2727
with:
2828
node-version-file: ".nvmrc"
29+
package-manager-cache: false
2930

3031
- name: "Setup git"
3132
run: |

.github/workflows/update-web-features.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
token: ${{ secrets.GH_TOKEN }}
2525

2626
- name: Setup Node.js
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v5
2828
with:
2929
node-version-file: ".nvmrc"
30+
package-manager-cache: false
3031

3132
- name: "Setup git"
3233
run: |

.github/workflows/update-webdriver-bidi-data.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
uses: actions/checkout@v5
2222

2323
- name: Setup Node.js
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v5
2525
with:
2626
node-version-file: ".nvmrc"
27+
package-manager-cache: false
2728

2829
- name: "Setup git"
2930
run: |

0 commit comments

Comments
 (0)