diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 91ebcb5..91c26af 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -7,9 +7,6 @@ on: jobs: build: runs-on: ubuntu-latest - permissions: - contents: read - id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -22,6 +19,9 @@ jobs: publish-npm: needs: build runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4