Skip to content

Commit 46d62a0

Browse files
authored
ci: add dry-run publish check to PRs (#3791)
- Adds `deno publish --dry-run` step to CI (ubuntu, v2.x only) - Catches lockfile mismatches and other publish issues in PRs before they hit main - Prevents the recurring problem of releases failing to publish after merge
1 parent 1955b10 commit 46d62a0

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,7 @@ jobs:
7878
- name: Check links
7979
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v2.x'
8080
run: deno task check:links
81+
82+
- name: Dry-run publish
83+
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v2.x'
84+
run: deno publish --dry-run

deno.lock

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)