Skip to content

Commit 6c450f9

Browse files
committed
🔧 Pin workflows to Node 22.13.1
Ensure every Node workflow uses a pnpm-compatible Node 22 patch release and add explicit Node setup to release workflows that previously relied on runner defaults.
1 parent 77fb046 commit 6c450f9

13 files changed

Lines changed: 44 additions & 34 deletions

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1616

17-
- name: Use Node.js 22
17+
- name: Use Node.js 22.13.1
1818
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
1919
with:
20-
node-version: 22
20+
node-version: '22.13.1'
2121

2222
- name: Install pnpm
2323
run: corepack enable && corepack prepare pnpm@11.3.0 --activate
@@ -39,7 +39,7 @@ jobs:
3939

4040
strategy:
4141
matrix:
42-
node-version: [22, 24]
42+
node-version: ['22.13.1', 24]
4343

4444
steps:
4545
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

.github/workflows/release-beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Node.js
3737
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3838
with:
39-
node-version: '22'
39+
node-version: '22.13.1'
4040
registry-url: 'https://registry.npmjs.org'
4141

4242
- name: Upgrade npm for Trusted Publishers

.github/workflows/release-ember-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Node.js
3636
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3737
with:
38-
node-version: '22'
38+
node-version: '22.13.1'
3939
registry-url: 'https://registry.npmjs.org'
4040

4141
- name: Upgrade npm for Trusted Publishers

.github/workflows/release-ruby-client.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
token: ${{ secrets.RELEASE_PAT || secrets.GITHUB_TOKEN }}
2828
fetch-depth: 0
2929

30+
- name: Setup Node.js
31+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
32+
with:
33+
node-version: '22.13.1'
34+
3035
- name: Set up Ruby
3136
uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1
3237
with:

.github/workflows/release-static-site-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Node.js
3131
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3232
with:
33-
node-version: '22'
33+
node-version: '22.13.1'
3434
registry-url: 'https://registry.npmjs.org'
3535

3636
- name: Upgrade npm for Trusted Publishers

.github/workflows/release-storybook-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Node.js
3131
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3232
with:
33-
node-version: '22'
33+
node-version: '22.13.1'
3434
registry-url: 'https://registry.npmjs.org'
3535

3636
- name: Upgrade npm for Trusted Publishers

.github/workflows/release-swift-client.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
token: ${{ secrets.RELEASE_PAT || secrets.GITHUB_TOKEN }}
2828
fetch-depth: 0
2929

30+
- name: Setup Node.js
31+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
32+
with:
33+
node-version: '22.13.1'
34+
3035
- name: Select Xcode version
3136
run: sudo xcode-select -s /Applications/Xcode_16.4.app
3237

.github/workflows/release-vitest-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Node.js
3131
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3232
with:
33-
node-version: '22'
33+
node-version: '22.13.1'
3434
registry-url: 'https://registry.npmjs.org'
3535

3636
- name: Upgrade npm for Trusted Publishers

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Node.js
3232
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3333
with:
34-
node-version: '22'
34+
node-version: '22.13.1'
3535
registry-url: 'https://registry.npmjs.org'
3636

3737
- name: Upgrade npm for Trusted Publishers

.github/workflows/reporter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1717

18-
- name: Use Node.js 22
18+
- name: Use Node.js 22.13.1
1919
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2020
with:
21-
node-version: 22
21+
node-version: '22.13.1'
2222

2323
- name: Install pnpm
2424
run: corepack enable && corepack prepare pnpm@11.3.0 --activate

0 commit comments

Comments
 (0)