Skip to content

Commit

Permalink
fail if eslint or prettier check fail
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Jul 18, 2024
1 parent 4876f38 commit d2ae1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .azure/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
npm install
displayName: 'Install dependencies'
- pwsh: |
npm run lint:check
npm run format:check
npm run lint:check && npm run format:check
displayName: 'Check code formatting'
- pwsh: |
npm run build:tools
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
npm install
name: Install dependencies
- run: |
npm run lint:check
npm run format:check
npm run lint:check && npm run format:check
name: Check code formatting
- run: |
npm run build:tools
Expand Down

0 comments on commit d2ae1e9

Please sign in to comment.