Skip to content

Commit

Permalink
Reduce number of CircleCI tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Apr 9, 2020
1 parent 1b2c6ab commit 72ca9cf
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,7 @@ jobs:
paths:
- ~/.cache/yarn

lint:
executor: node
steps:
- checkout
- *yarn_cache
- *yarn
- run:
name: ESLint
command: yarn run lint

typescript:
check:
executor: node
steps:
- checkout
Expand All @@ -49,16 +39,12 @@ jobs:
- run:
name: TypeScript
command: yarn run check

test:
executor: node
steps:
- checkout
- *yarn_cache
- *yarn
- run:
name: Unit Tests
command: yarn run test --maxWorkers=2
- run:
name: ESLint
command: yarn run lint

build:
executor: node
Expand Down Expand Up @@ -113,13 +99,7 @@ workflows:
stable:
jobs:
- setup
- lint:
requires:
- setup
- typescript:
requires:
- setup
- test:
- check:
requires:
- setup
- build:
Expand Down

0 comments on commit 72ca9cf

Please sign in to comment.