Skip to content

Commit

Permalink
ci: require changeset on pull request (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
orionmiz authored Jan 2, 2025
1 parent 1535331 commit f526ff7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,36 @@ jobs:
run: |
yarn typecheck
shell: bash

changeset:
name: Check the status of Changesets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# https://github.com/changesets/changesets/issues/1055#issuecomment-1602572294
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: "20"

- uses: actions/cache@v4
id: yarn-unplugged-cache
with:
path: |
.yarn/unplugged/
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-
- name: Install the unplugged dependencies and check that the Yarn files do not change during the installation process. If an error occurs, run "yarn install" and commit and push.
run: |
yarn install --immutable
shell: bash

- name: Check the status of Changesets
run: |
yarn changeset status --since=origin/main
shell: bash

0 comments on commit f526ff7

Please sign in to comment.