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
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Ensure npm 11.5.1 or later is installed
run: npm install -g npm@latest
# Temporarily disabled until we can upgrade to Node.js 20+
# ref: https://github.com/Doist/reactist/actions/runs/18786284512/job/53605250671
# - name: Ensure npm 11.5.1 or later is installed
# run: npm install -g npm@latest

# Remove any registry configurations from .npmrc
- run: sed -i "/@doist/d" ./.npmrc
Expand Down Expand Up @@ -66,3 +68,6 @@ jobs:
registry-url: https://registry.npmjs.org/
scope: '@doist'
- run: npm publish --provenance --access public
# Token-based authentication until we can use OIDC
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}