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
8 changes: 8 additions & 0 deletions .github/workflows/on-merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: 22
# Required for publishing: this is what writes an .npmrc wired up to
# NODE_AUTH_TOKEN. Without it npm has no credentials at all and every
# publish fails with ENEEDAUTH.
registry-url: 'https://registry.npmjs.org'
- name: Update npm to 10.x
run: |
npm i -g npm@10
Expand Down Expand Up @@ -70,6 +74,10 @@ jobs:
else
# No changesets — publish any packages whose version exceeds what is on npm
npm run npm:publish
# changeset publish creates a git tag per published package; push
# them so releases stay traceable from the repo. changesets/action
# used to do this before it was replaced in #559.
git push origin --follow-tags
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading