diff --git a/.changeset/tasty-parrots-beg.md b/.changeset/tasty-parrots-beg.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/tasty-parrots-beg.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1c54397359..4749396607 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,12 +59,14 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Publish to NPM + - name: Create Release PR or Publish to NPM id: changesets uses: changesets/action@v1 with: title: 'chore(release): version packages' commit: 'chore(release): version packages' + # We want to make sure an update-to-date yarn lockfile is committed + version: yarn changeset version && yarn install publish: yarn changeset publish env: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}