chore: check publish --dry-run after testing (#6184)

This commit is contained in:
Yoshiya Hinosawa 2024-11-14 14:56:24 +09:00 committed by GitHub
parent 8522627ea4
commit 60b491755e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,10 @@ jobs:
with: with:
name: ${{ matrix.os }}-${{ matrix.deno }} name: ${{ matrix.os }}-${{ matrix.deno }}
- name: Publish dry run
run: deno publish --dry-run
if: matrix.deno == 'canary' && matrix.os == 'ubuntu-latest'
test-node: test-node:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 30 timeout-minutes: 30
@ -160,22 +164,3 @@ jobs:
- name: Rebuild Wasm and verify it hasn't changed - name: Rebuild Wasm and verify it hasn't changed
if: success() && steps.source.outputs.modified == 'true' if: success() && steps.source.outputs.modified == 'true'
run: deno task --cwd ${{ matrix.module }} --config deno.json wasmbuild --check 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