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: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ jobs:
- run: pnpm install --frozen-lockfile
# Without an npm token the job still opens version pull requests but
# does not try to publish: a release is then published by hand.
# v2 reads the output of Changesets v3: v1 did not, so it pushed no tags
# and made no GitHub releases after publishing.
- name: Create release pull request or publish
uses: changesets/action@v1
uses: changesets/action@v2.1.2
with:
publish: ${{ secrets.NPM_TOKEN != '' && 'pnpm release' || '' }}
publish-script: ${{ secrets.NPM_TOKEN != '' && 'pnpm release' || '' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
Loading