Skip to content

Commit c25da1b

Browse files
committed
ci: use frozen-lockfile and pnpm exec wrangler
- Add --frozen-lockfile to all pnpm install steps to prevent lockfile drift - Replace npx wrangler with pnpm exec wrangler in smoke test to use pinned devDependency version
1 parent 96defd5 commit c25da1b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
node-version: "24"
3030
cache: "pnpm"
3131

32-
- run: pnpm install
32+
- run: pnpm install --frozen-lockfile
3333

3434
- name: Check code
3535
run: pnpm check
@@ -51,7 +51,7 @@ jobs:
5151
node-version: "24"
5252
cache: "pnpm"
5353

54-
- run: pnpm install
54+
- run: pnpm install --frozen-lockfile
5555

5656
- name: Tests
5757
run: pnpm test
@@ -71,7 +71,7 @@ jobs:
7171
node-version: "24"
7272
cache: "pnpm"
7373

74-
- run: pnpm install
74+
- run: pnpm install --frozen-lockfile
7575

7676
- name: Build
7777
run: pnpm build
@@ -81,7 +81,7 @@ jobs:
8181
- name: Smoke test (wrangler dev)
8282
run: |
8383
WRANGLER_LOG=$(mktemp)
84-
npx wrangler dev --port 8788 > "$WRANGLER_LOG" 2>&1 &
84+
pnpm exec wrangler dev --port 8788 > "$WRANGLER_LOG" 2>&1 &
8585
WRANGLER_PID=$!
8686
8787
for i in $(seq 1 30); do

0 commit comments

Comments
 (0)