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
This commit is contained in:
Bartek Iwańczuk
2026-04-27 17:54:35 +02:00
committed by GitHub
parent 1955b10003
commit 46d62a0cd6
2 changed files with 4 additions and 11 deletions
+4
View File
@@ -78,3 +78,7 @@ jobs:
- name: Check links
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v2.x'
run: deno task check:links
- name: Dry-run publish
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v2.x'
run: deno publish --dry-run