Skip to content

Commit

Permalink
Check for unstaged changes during GitHub Actions “Test” workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Jan 18, 2024
1 parent a0680d9 commit 4de7dcb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- name: Functional tests (Chromium)
run: npm run karma

# Run linter last so other tests run even if there is a code formatting error
# Run linter after tests to prevent failure due to code formatting error
- name: Lint
run: npm run standard

# Run check for `npm run build` unstaged changes
- name: Check for unstaged changes
run: node scripts/check-staged.mjs

0 comments on commit 4de7dcb

Please sign in to comment.