Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"$schema": "../node_modules/@changesets/config/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# to tell "there is a release PR to approve runs on" from "there was
# nothing to version". Notably it is empty on the push that merges the
# release PR, since `changeset version` already consumed the changesets.
pull-request-number: ${{ steps.version.outputs.pullRequestNumber }}
pull-request-number: ${{ steps.version.outputs.pr-number }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand All @@ -29,13 +29,12 @@ jobs:
run: yarn install
- name: Create Release Pull Request
id: version
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@22ccf9aa43179fe9e27dc62e575971d28cce197c # v2.0.0
with:
version: yarn changeset version
commit: "Version NPM packages"
title: "Version NPM packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
version-script: yarn changeset version
commit-message: "Version NPM packages"
pr-title: "Version NPM packages"

# The release PR is opened and updated by github-actions[bot] authenticating as
# GITHUB_TOKEN, above. Runs on such a pull request are created in an
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ jobs:
yarn stage-release --concurrency=1
- name: Release
id: release
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@22ccf9aa43179fe9e27dc62e575971d28cce197c # v2.0.0
if: steps.stage.outcome == 'success'
with:
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-script: yarn release
# Hand off to npm-package-existence.yml, which records the versions just
# published so the next release PR's check can skip the registry for them.
# It must list this event type; see the rationale for the hand-off there.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"g:vitest": "cd $INIT_CWD && vitest"
},
"dependencies": {
"@changesets/cli": "^2.27.5",
"@changesets/cli": "^3.0.0",
"glob": "^7.1.6",
"premove": "4.0.0"
},
Expand Down
Loading