Skip to content

Commit

Permalink
[1.2.x] chore(ci): ensure changeset PR has an update to date yarn loc…
Browse files Browse the repository at this point in the history
…kfile (#2382)

* 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>
Co-authored-by: Paul Schultz <pschultz@pobox.com>
  • Loading branch information
openshift-cherrypick-robot and schultzp2020 authored Oct 17, 2024
1 parent 0502526 commit e1f5672
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 e1f5672

Please sign in to comment.