Skip to content

Commit

Permalink
removed unused node_modules caching in CI (badges#4724)
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Cartwright <[email protected]>
  • Loading branch information
znarf and calebcartwright authored Mar 4, 2020
1 parent 488c432 commit c37cf7e
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ main_steps: &main_steps
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- run:
name: Install dependencies
command: npm ci
Expand All @@ -18,11 +12,6 @@ main_steps: &main_steps
# We don't need to install the Cypress binary in jobs that aren't actually running Cypress.
CYPRESS_INSTALL_BINARY: 0

- save_cache:
paths:
- node_modules
key: v2-dependencies-{{ checksum "package-lock.json" }}

- run:
name: Linter
when: always
Expand Down Expand Up @@ -56,12 +45,6 @@ integration_steps: &integration_steps
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- run:
name: Install dependencies
command: npm ci
Expand All @@ -83,12 +66,6 @@ services_steps: &services_steps
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- run:
name: Install dependencies
command: npm ci
Expand Down Expand Up @@ -125,12 +102,6 @@ package_steps: &package_steps
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- run:
name: Install dependencies
command: |
Expand Down Expand Up @@ -181,23 +152,12 @@ jobs:
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- v2-dependencies-

- run:
name: Install dependencies
command: npm ci
environment:
CYPRESS_INSTALL_BINARY: 0

- save_cache:
paths:
- node_modules
key: v2-dependencies-{{ checksum "package-lock.json" }}

main:
docker:
- image: circleci/node:8
Expand Down Expand Up @@ -230,12 +190,6 @@ jobs:
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- run:
name: Install dependencies
command: npm ci
Expand All @@ -256,12 +210,6 @@ jobs:
steps:
- checkout

- restore_cache:
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- run:
name: Install dependencies
command: npm ci
Expand Down Expand Up @@ -315,13 +263,6 @@ jobs:
steps:
- checkout

- restore_cache:
name: Restore node_modules
keys:
- v2-dependencies-{{ checksum "package-lock.json" }}
# https://github.com/badges/shields/issues/1937
- v2-dependencies-

- restore_cache:
name: Restore Cypress binary
keys:
Expand Down

0 comments on commit c37cf7e

Please sign in to comment.