diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79acbe19..a205eb13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,13 +48,15 @@ jobs: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' environment: npm - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + permissions: + id-token: write # Required for OIDC + contents: read steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - uses: actions/download-artifact@v4 - uses: actions/setup-node@v3 with: + node-version: '24' registry-url: 'https://registry.npmjs.org' - run: npm install - id: pkg