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
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version-file: .nvmrc

- name: Check version
id: check
Expand Down Expand Up @@ -51,7 +51,9 @@ jobs:

- name: Upgrade npm
if: steps.check.outputs.deployed == 'true'
run: npm install -g npm@latest
# Pinned: an unpinned npm@latest drifts past the runner's Node and fails with
# EBADENGINE. Trusted publishing needs npm >= 11.5.1.
run: npm install -g npm@11

- name: Publish to npm
if: steps.check.outputs.deployed == 'true'
Expand Down
Loading