diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3a18acca4..8611fab3c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -340,6 +340,7 @@ jobs: changesets-release: if: github.event_name == 'push' permissions: + id-token: write # Required for npm trusted publishing (OIDC) contents: write # to create release (changesets/action) issues: write # to post issue comments (changesets/action) pull-requests: write # to create pull request (changesets/action) @@ -351,7 +352,7 @@ jobs: - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 # Required for npm trusted publishing (npm 11.5.1+) cache: pnpm - name: Download PGlite WASM build artifacts @@ -377,4 +378,3 @@ jobs: title: 'chore: publish new package versions' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}