diff --git a/.circleci/config.yml b/.circleci/config.yml index bc04d9d..3c2a370 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,13 +7,12 @@ jobs: - checkout - restore_cache: keys: - - yarn-packages-{{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} - - yarn-packages + - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install - save_cache: paths: - - node_modules - key: yarn-packages-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + - node_modules test: docker: @@ -22,7 +21,7 @@ jobs: - checkout - restore_cache: keys: - - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} + - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: name: run test command: | @@ -34,7 +33,7 @@ jobs: - checkout - restore_cache: keys: - - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} + - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: | yarn build - run: