Browse Source

👷 update config.yml

main
lamya-rey 5 years ago
parent
commit
dcca5589c2
  1. 11
      .circleci/config.yml

11
.circleci/config.yml

@ -7,13 +7,12 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: 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 - run: yarn global add node-gyp && yarn install
- save_cache: - save_cache:
paths: paths:
- node_modules
key: yarn-packages-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- node_modules
test: test:
docker: docker:
@ -22,7 +21,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: - run:
name: run test name: run test
command: | command: |
@ -34,7 +33,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: | - run: |
yarn build yarn build
- run: - run:

Loading…
Cancel
Save