Skip to content

Commit

Permalink
fix(ci): add deno publish --dry-run step
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Aug 14, 2024
1 parent 11b12c3 commit 25715ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
VERSION=${GITHUB_REF#refs/tags/v}
deno task build $VERSION
- name: "Publish → jsr (check)"
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: deno publish --no-check -c jsr.json --dry-run

- name: "Publish → jsr"
if: ${{ !contains(github.ref, '-next.') }}
run: deno publish --no-check -c jsr.json
Expand Down

0 comments on commit 25715ef

Please sign in to comment.