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
Update trusted-publishers.mdx to reflect the correct version of node
node:24 is the first node version to satisfy the npm 11 requirement. Docs should use the correct container version to ensure dependencies for npm 11
  • Loading branch information
milesoberstadt authored Dec 16, 2025
commit a81210f4f8b4dde8448744d04fc46e5533d34a41
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,8 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
registry-url: 'https://registry.npmjs.org'

# Ensure npm 11.5.1 or later is installed
- name: Update npm
run: npm install -g npm@latest
- run: npm ci
- run: npm run build --if-present
- run: npm test
Expand All @@ -116,7 +112,7 @@ stages:
- publish
variables:
NODE_VERSION: '20'
NODE_VERSION: '24'
test:
stage: test
Expand All @@ -134,8 +130,6 @@ publish:
SIGSTORE_ID_TOKEN:
aud: sigstore
script:
# Ensure npm 11.5.1 or later is installed
- npm install -g npm@latest
- npm ci
- npm run build --if-present
- npm publish
Expand Down Expand Up @@ -240,12 +234,8 @@ While trusted publishing handles the publish operation, you may still need authe
# GitHub Actions example
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
registry-url: 'https://registry.npmjs.org'
# Ensure npm 11.5.1 or later for trusted publishing
- run: npm install -g npm@latest
# Use a read-only token for installing dependencies
- run: npm ci
env:
Expand Down
Loading