Skip to content

ci: move to changesets for releases #2

ci: move to changesets for releases

ci: move to changesets for releases #2

Workflow file for this run

name: PR Validation
on:
pull_request:
branches:
- main
jobs:
check-changesets:
name: Check for Changesets
runs-on: ubuntu-latest
# Skip this check for the version bump PR created by changesets
if: ${{ github.head_ref != 'changeset-release/main' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Validate changesets
run: node .github/scripts/validate-changesets.mts