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
12 changes: 9 additions & 3 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

# Tokenless trusted publishing requires npm >= 11.5; Node 22 ships npm 10.
- name: Upgrade npm
run: npm install -g npm@latest
# Tokenless trusted publishing needs npm >= 11.5.1. The repo's .nvmrc
# pins Node 22 (npm 10), and `npm install -g npm@latest` self-upgrade is
# broken on that npm (MODULE_NOT_FOUND 'promise-retry'). So switch the
# publish steps to Node 24, which already bundles npm 11.6+.
- name: Use Node with npm 11+
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"

- name: Build packages
run: yarn turbo run build --filter='./packages/*'
Expand Down
Loading