Skip to content

Commit babd898

Browse files
committed
ci: reorder node.js setup before package managers in release workflow
1 parent c776bf7 commit babd898

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v4
2323

24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 22
28+
2429
# Update npm to the latest version to enable OIDC
2530
# Use corepack to install pnpm
2631
- name: Setup Package Managers
@@ -30,12 +35,6 @@ jobs:
3035
npm install -g corepack@latest --force
3136
corepack enable
3237
33-
- name: Setup Node.js
34-
uses: actions/setup-node@v4
35-
with:
36-
node-version: 22
37-
cache: "pnpm"
38-
3938
- name: Install Dependencies
4039
run: pnpm install
4140

0 commit comments

Comments
 (0)