Skip to content

Commit

Permalink
chore: check publish --dry-run after testing (#6184)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k authored Nov 14, 2024
1 parent 8522627 commit 60b4917
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
with:
name: ${{ matrix.os }}-${{ matrix.deno }}

- name: Publish dry run
run: deno publish --dry-run
if: matrix.deno == 'canary' && matrix.os == 'ubuntu-latest'

test-node:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
Expand Down Expand Up @@ -160,22 +164,3 @@ jobs:
- name: Rebuild Wasm and verify it hasn't changed
if: success() && steps.source.outputs.modified == 'true'
run: deno task --cwd ${{ matrix.module }} --config deno.json wasmbuild --check

publish-dry-run:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
id-token: write

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary

- name: Publish (dry run)
run: deno publish --dry-run

0 comments on commit 60b4917

Please sign in to comment.