Skip to content

Commit

Permalink
fix-ci pipeline should fail on PR if lint fails - #172
Browse files Browse the repository at this point in the history
 # Fail the job if `lint:check` exits with a non-zero code
  • Loading branch information
Rash-Hit committed Mar 9, 2024
1 parent 2937904 commit acd2820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
run: npm install --legacy-peer-deps

- name: Run linting check
run: npm run lint:fix
run: npm run lint:check

- name: Check formatting
run: npm run format:fix

0 comments on commit acd2820

Please sign in to comment.