Skip to content

Commit 0ffc4eb

Browse files
tianzhouclaude
andcommitted
fix: add .npmrc to worker/demo for frozen-lockfile compatibility
pnpm 10 defaults autoInstallPeers to true, but the lockfile was generated with it set to false (matching root .npmrc). Adding .npmrc to the worker ensures CI frozen-lockfile installs succeed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cdbd75d commit 0ffc4eb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
node-version: "22"
3232

3333
- name: Install dependencies
34-
run: pnpm install
34+
run: pnpm install --frozen-lockfile
3535
working-directory: worker/demo
3636

3737
- name: Deploy to Cloudflare

worker/demo/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
auto-install-peers=false

0 commit comments

Comments
 (0)