Skip to content

Commit

Permalink
Fail CI checks if there are lint warnings (#95)
Browse files Browse the repository at this point in the history
* Fail CI checks if there are lint warnings

* fix lint warning
  • Loading branch information
wkozyra95 authored Dec 1, 2020
1 parent 8a0a5a2 commit aa54eca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
if: ${{ !matrix.coverage }}
- run: yarn test --coverage
if: ${{ matrix.coverage }}
- run: yarn lint
- run: yarn lint --max-warnings=0
- run: shellcheck bin/*.sh
- uses: codecov/codecov-action@v1
if: ${{ matrix.coverage }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import prompts from 'prompts';

import { asMock } from '../../../../__tests__/utils';
import { AppleTeam } from '../../../../graphql/generated';
import { Account } from '../../../../user/Account';
import DeviceCreateAction, { RegistrationMethod } from '../action';
import { runInputMethodAsync } from '../inputMethod';
Expand Down

0 comments on commit aa54eca

Please sign in to comment.