Skip to content

Commit 05c5797

Browse files
committed
Add PNPM version to deployment configuration
1 parent 426ccc8 commit 05c5797

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
env:
1111
NODE_VER: 22.11
12+
PNPM_VER: 10.9.0
1213
CI: true
1314

1415
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -27,6 +28,9 @@ jobs:
2728
# Build job
2829
build:
2930
runs-on: ubuntu-latest
31+
defaults:
32+
run:
33+
working-directory: docs/
3034
steps:
3135
- name: Checkout
3236
uses: actions/checkout@v4
@@ -36,13 +40,15 @@ jobs:
3640
- uses: pnpm/action-setup@v4
3741
name: Install pnpm
3842
with:
43+
version: ${{ env.PNPM_VER }}
3944
run_install: false
4045

4146
- name: Use Node.js ${{ env.NODE_VER }}
4247
uses: actions/setup-node@v4
4348
with:
4449
node-version: ${{ env.NODE_VER }}
4550
cache: 'pnpm'
51+
cache-dependency-path: docs/
4652

4753
- name: Setup Pages
4854
uses: actions/configure-pages@v4

0 commit comments

Comments
 (0)