Skip to content

Commit 23a124e

Browse files
committed
fix: update pnpm version in workflow and use frozen lockfile for dependency installation
1 parent 6ed3efa commit 23a124e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/update-docs.yaml

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

25+
- name: Install pnpm
26+
uses: pnpm/action-setup@v3
27+
with:
28+
version: 10
29+
run_install: false
30+
2531
- name: Setup Node.js
2632
uses: actions/setup-node@v4
2733
with:
2834
node-version: 20
2935
cache: 'pnpm'
3036

31-
- name: Install pnpm
32-
uses: pnpm/action-setup@v3
33-
with:
34-
version: 9
35-
run_install: false
36-
3737
- name: Install dependencies
38-
run: pnpm install
38+
run: pnpm i --frozen-lockfile
3939

4040
- name: Generate Documentation
4141
run: pnpm run docs

0 commit comments

Comments
 (0)