diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6eb8178..7eb1810 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,7 @@ jobs: publish: runs-on: ubuntu-latest + needs: test permissions: contents: read @@ -61,6 +62,5 @@ jobs: deno-version: v1.x - name: Publish package - needs: test if: github.ref == 'refs/heads/main' run: deno publish