Skip to content

Commit

Permalink
fix: use exit signal on format action
Browse files Browse the repository at this point in the history
  • Loading branch information
comatory committed Oct 31, 2023
1 parent 512d063 commit 011c5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run format:ci | wc -l | awk '{if ($1 > 0) print "1"; else print "0";}'
- run: npm run format:ci | wc -l | awk '{if ($1 > 0) exit 1; else exit 0;}'

0 comments on commit 011c5ba

Please sign in to comment.