Skip to content

Commit 79aa387

Browse files
pros-csprosdev
authored andcommitted
fix(docs): setup pnpm before Node.js in workflow
Setup pnpm before setup-node to allow pnpm cache to work correctly
1 parent e8d9d03 commit 79aa387

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727

28+
- name: Setup pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
version: 9.15.4
32+
2833
- name: Setup Node.js
2934
uses: actions/setup-node@v4
3035
with:
3136
node-version: '22'
3237
cache: 'pnpm'
3338

34-
- name: Setup pnpm
35-
uses: pnpm/action-setup@v4
36-
with:
37-
version: 9.15.4
38-
3939
- name: Install dependencies
4040
run: pnpm install --frozen-lockfile
4141

0 commit comments

Comments
 (0)