diff --git a/.circleci/config.yml b/.circleci/config.yml index 21f1be785db934..2b1acf72615b13 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,16 +3,21 @@ defaults: &defaults docker: - image: circleci/node:9.10 restore_repo: &restore_repo - restore_cache: - keys: - - v1-repo-{{ .Branch }}-{{ .Revision }} + # The cache logic of CircleCI has been disabled for Security reasons. + # We can no longer use it. + # restore_cache: + # keys: + # - v1-repo-{{ .Branch }}-{{ .Revision }} + - checkout + - run: + name: Install js dependencies + command: yarn version: 2 jobs: checkout: <<: *defaults steps: - - *restore_repo - - checkout + - <: *restore_repo - run: name: Check versions and env command: | @@ -41,7 +46,7 @@ jobs: test_unit: <<: *defaults steps: - - *restore_repo + - <: *restore_repo - run: name: Lint command: yarn lint @@ -67,7 +72,7 @@ jobs: test_material-ui-x: <<: *defaults steps: - - *restore_repo + - <: *restore_repo - run: name: material-ui-icons command: | @@ -135,7 +140,7 @@ jobs: docker: - image: circleci/node:9.10 steps: - - *restore_repo + - <: *restore_repo - run: name: Can we generate the material-ui build? command: cd packages/material-ui && yarn build @@ -148,7 +153,7 @@ jobs: test_browser: <<: *defaults steps: - - *restore_repo + - <: *restore_repo - run: name: Can we generate the api of the docs? command: yarn docs:api @@ -168,7 +173,7 @@ jobs: - image: circleci/node:9.10 - image: selenium/standalone-chrome:3.11.0 steps: - - *restore_repo + - <: *restore_repo - run: name: Visual regression tests command: |