Skip to content

Commit 241d76d

Browse files
committed
chore(workflow): fix pnpm cache
1 parent 450f30e commit 241d76d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ 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-
cache: "pnpm"
29-
3024
# Use corepack to install pnpm
3125
# Update npm to the latest version to enable OIDC
3226
- name: Setup Package Managers
@@ -36,6 +30,12 @@ jobs:
3630
npm install -g corepack@latest --force
3731
corepack enable
3832
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 22
37+
cache: "pnpm"
38+
3939
- name: Install Dependencies
4040
run: pnpm install
4141

0 commit comments

Comments
 (0)