Skip to content

Commit

Permalink
feat(github-actions): add 'no new snapshots' check after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Jan 30, 2024
1 parent 51addd1 commit ffdbc91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
run: yarn test
env:
NODE_ENV: production
- name: 'Assert no new snapshots (run `yarn test --ci` if this fails)'
run: git diff --exit-code
- name: Store coverage
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit ffdbc91

Please sign in to comment.