Skip to content

Commit

Permalink
chore(ci): ensure changeset PR has an update to date yarn lockfile (#…
Browse files Browse the repository at this point in the history
…2379)

* chore(ci): ensure changeset PR has an update to date yarn lockfile

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* update comment wording

Signed-off-by: Paul Schultz <pschultz@pobox.com>

* add changeset

Signed-off-by: Paul Schultz <pschultz@pobox.com>

---------

Signed-off-by: Paul Schultz <pschultz@pobox.com>
  • Loading branch information
schultzp2020 authored Oct 17, 2024
1 parent 27d3058 commit 05a32c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/tasty-parrots-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 05a32c8

Please sign in to comment.