🚀 Release apps #194
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changesets | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
- edited | |
- synchronize | |
branches-ignore: | |
- 'changeset-release/**' | |
jobs: | |
changeset_check: | |
name: Changeset added to the PR | |
# Adding 'skip changesets' label to the PR will skip this job | |
if: ${{ !contains( github.event.pull_request.labels.*.name, 'skip changeset') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# check out full history | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Changeset added | |
run: npx changeset status --since origin/main |