Skip to content

Commit

Permalink
chore: only run eslint on a single job
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 6, 2021
1 parent a92353f commit e888c8d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
cache: yarn
- name: install with jest@${{ matrix.jest-version }}
run: yarn add --dev jest@${{ matrix.jest-version }} babel-jest@${{ matrix.jest-version }} pretty-format@${{ matrix.jest-version }} @types/jest@${{ matrix.jest-version }}
- run: yarn lint
- run: yarn test:coverage
- uses: codecov/codecov-action@v2

Expand All @@ -46,6 +45,16 @@ jobs:
node-version: 14.x
cache: yarn
- run: yarn install
- run: yarn lint
- run: yarn test:coverage
- uses: codecov/codecov-action@v2

lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: yarn
- run: yarn lint

0 comments on commit e888c8d

Please sign in to comment.