Skip to content

Commit 5aab3bd

Browse files
committed
chore: update release workflow
1 parent 8356693 commit 5aab3bd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release.yml

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

24-
- name: Install Pnpm
25-
run: npm i -g corepack@latest --force && corepack enable
24+
# Update npm to the latest version to enable OIDC
25+
# Use corepack to install pnpm
26+
- name: Setup Package Managers
27+
run: |
28+
npm install -g npm@latest
29+
npm --version
30+
npm install -g corepack@latest --force
31+
corepack enable
2632
2733
- name: Setup Node.js
2834
uses: actions/setup-node@v4
2935
with:
3036
node-version: 22
3137
cache: "pnpm"
3238

33-
- name: Update npm
34-
run: npm install -g npm@latest && npm --version
35-
3639
- name: Install Dependencies
3740
run: pnpm install
3841

0 commit comments

Comments
 (0)