Skip to content

Commit

Permalink
Adds conditional changeset file validation (#2671)
Browse files Browse the repository at this point in the history
  • Loading branch information
IainSAP authored Dec 9, 2024
1 parent d89dbd6 commit 2020de9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ jobs:
run: pnpm run test
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Check changesets
- name: Check for changeset files
id: check_changeset_files
uses: andstor/file-existence-action@v3
with:
files: '.changeset/[!README]*.md'
fail: false
- name: Validate changeset files if found
if: steps.check_changeset_files.outputs.files_exists == 'true'
run: pnpm changeset status
- name: Cache playwright browsers
id: cache-playwright-browsers
Expand Down

0 comments on commit 2020de9

Please sign in to comment.