Skip to content

Commit

Permalink
chore: change workflows around ~ use less resources (#15035)
Browse files Browse the repository at this point in the history
* chore: change workflows around ~ use less resources

* review changes
  • Loading branch information
wardpeet authored and GatsbyJS Bot committed Jun 26, 2019
1 parent 9785b08 commit 4c3c3ea
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ aliases:
- /docs.+/
- /blog.+/
requires:
- bootstrap
- lint
- unit_tests_node8

commands:
e2e-test:
Expand Down Expand Up @@ -107,12 +108,14 @@ jobs:

lint:
executor: node
parallelism: 2
steps:
- checkout
- <<: *restore_cache
- <<: *install_node_modules
- <<: *persist_cache
- run: yarn lint
- run: yarn lint:code
- run: yarn lint:other

unit_tests_node8:
executor:
Expand Down Expand Up @@ -209,22 +212,24 @@ workflows:
build-test:
jobs:
- bootstrap
- lint
- lint:
requires:
- bootstrap
- unit_tests_node8:
<<: *ignore_docs
requires:
- bootstrap
- unit_tests_node10:
<<: *ignore_docs
requires:
- bootstrap
- lint
- unit_tests_node8
- unit_tests_node12:
<<: *ignore_docs
requires:
- bootstrap
- unit_tests_www:
requires:
- bootstrap
- lint
- unit_tests_node8
- unit_tests_www
- integration_tests_long_term_caching:
<<: *e2e-test-workflow
- integration_tests_gatsby_pipeline:
Expand Down

0 comments on commit 4c3c3ea

Please sign in to comment.