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
22 changes: 10 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ jobs:

- name: Create or update release PR
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
with:
commit: "chore: release"
prDraft: create
title: "chore: release"
version: npm run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: release"
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-draft: create
pr-title: "chore: release"
version-script: npm run version

- name: Check if publish is needed
id: published
Expand Down Expand Up @@ -126,12 +125,11 @@ jobs:

- name: Publish to npm and create GitHub releases
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1
with:
createGithubReleases: true
publish: npm run changeset -- publish
env:
GITHUB_TOKEN: ${{ steps.credentials.outputs.token }}
create-github-releases: true
github-token: ${{ steps.credentials.outputs.token }}
publish-script: npm run changeset -- publish

- name: Get publication details
if: steps.changesets.outputs.published == 'true'
Expand Down