From 60b491755e6991e84e340e4f345ca9c001393f34 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Thu, 14 Nov 2024 14:56:24 +0900 Subject: [PATCH] chore: check publish --dry-run after testing (#6184) --- .github/workflows/ci.yml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7256d94bc..2e8d78266 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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