Skip to content

Commit 23c78fc

Browse files
committed
ci: add dry-run publish check to PRs
Runs `deno publish --dry-run` in CI so lockfile mismatches and other publish issues are caught before merging, not after.
1 parent c06a84e commit 23c78fc

1 file changed

Lines changed: 4 additions & 0 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

0 commit comments

Comments
 (0)