Skip to content

Commit 32fdd8d

Browse files
committed
fix: use pnpm if-present syntax in deploy workflows
Keep the deploy typecheck jobs compatible with pnpm so the optional flag is handled by pnpm instead of being forwarded to tsc.
1 parent 20a1840 commit 32fdd8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: pnpm install --frozen-lockfile
5959

6060
- name: 🔎 Type check
61-
run: pnpm run typecheck --if-present
61+
run: pnpm run --if-present typecheck
6262

6363
vitest:
6464
name: ⚡ Vitest

.github/workflows/deploy.staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: pnpm install --frozen-lockfile
6161

6262
- name: 🔎 Type check
63-
run: pnpm run typecheck --if-present
63+
run: pnpm run --if-present typecheck
6464

6565
vitest:
6666
name: ⚡ Vitest

0 commit comments

Comments
 (0)