Skip to content

Commit 7486d18

Browse files
testac974claude
andcommitted
Fix GitHub Pages deployment: switch from pnpm to npm
The workflow was using pnpm but we installed packages with npm, causing lockfile mismatch errors in CI. Switched to npm for consistency. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent a5f00a0 commit 7486d18

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,20 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030

31-
- name: Setup pnpm
32-
uses: pnpm/action-setup@v4
33-
with:
34-
version: 9
35-
3631
- name: Setup Node.js
3732
uses: actions/setup-node@v4
3833
with:
3934
node-version: '20'
40-
cache: 'pnpm'
41-
cache-dependency-path: 'website/pnpm-lock.yaml'
35+
cache: 'npm'
36+
cache-dependency-path: 'website/package-lock.json'
4237

4338
- name: Install dependencies
4439
working-directory: ./website
45-
run: pnpm install --frozen-lockfile
40+
run: npm ci
4641

4742
- name: Build Next.js site
4843
working-directory: ./website
49-
run: pnpm build
44+
run: npm run build
5045
env:
5146
NEXT_PUBLIC_BASE_PATH: /agentic-coding-book
5247

0 commit comments

Comments
 (0)