diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3e8686a..7dcd406 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,10 @@ on: tags: - v* +permissions: + id-token: write # Required for OIDC + contents: read + jobs: build: runs-on: ubuntu-latest @@ -12,9 +16,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 with: - node-version: 17 + node-version: 24 registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.ZAPBOT_NPM_TOKEN }}