Skip to content

Commit 9e32f2d

Browse files
committed
chore: reorder and update node.js setup in workflow
1 parent 5aab3bd commit 9e32f2d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/release.yml

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

24-
# Update npm to the latest version to enable OIDC
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 22
28+
2529
# Use corepack to install pnpm
30+
# Update npm to the latest version to enable OIDC
2631
- name: Setup Package Managers
2732
run: |
2833
npm install -g npm@latest
2934
npm --version
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)