Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: require changeset on pull request #552

Merged
merged 11 commits into from
Jan 2, 2025
Merged
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
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
Loading