Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
name: Build Node.js bindings
needs: ci_checks
runs-on: ubuntu-latest
permissions:
id-token: write # Required for OIDC
contents: read

steps:
- uses: actions/checkout@v4
Expand All @@ -34,11 +37,15 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: npm
cache-dependency-path: bindings/node/package-lock.json
registry-url: https://registry.npmjs.org/

# Node.js 24 uses npm 11
- name: Update npm
run: npm install -g npm@11

- name: Set up Go
uses: actions/setup-go@v5
with:
Expand All @@ -65,4 +72,3 @@ jobs:
env:
NPM_CONFIG_DRY_RUN: ${{ ( github.ref == 'refs/heads/main' || needs.ci_checks.outputs.publish_release == 'true' ) && 'false' || 'true' }}
NPM_PUBLISH_TAG: ${{ ( needs.ci_checks.outputs.publish_release == 'true' ) && 'next' || 'next-unstable' }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading