Browse Source

💚 Fix wrong name circleci config

main
Galimede 6 years ago
parent
commit
f20afe7106
  1. 12
      .circleci/config.yml

12
.circleci/config.yml

@ -7,11 +7,11 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- yarn-packages-{{ checksum "yarn.lock" }}--{{ .Environment.CACHE_VERSION }}
- yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
- yarn-packages - yarn-packages
- run: yarn global add node-gyp && yarn install - run: yarn global add node-gyp && yarn install
- save_cache: - save_cache:
key: yarn-packages-{{ checksum "yarn.lock" }}--{{ .Environment.CACHE_VERSION }}
key: yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
paths: paths:
- node_modules - node_modules
test: test:
@ -21,7 +21,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- yarn-packages-{{ checksum "yarn.lock" }}--{{ .Environment.CACHE_VERSION }}
- yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
- run: - run:
- name: Launch test - name: Launch test
- command : yarn test - command : yarn test
@ -32,7 +32,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- yarn-packages-{{ checksum "yarn.lock" }}--{{ .Environment.CACHE_VERSION }}
- yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
- run: - run:
- name: Build for production - name: Build for production
- command : yarn run build - command : yarn run build
@ -47,7 +47,7 @@ jobs:
root: /tmp root: /tmp
paths: paths:
- build - build
deploy:
deploy-netlify:
docker: docker:
- image: cimg/node:15.5.1-browsers - image: cimg/node:15.5.1-browsers
working_directory: ~/deploy-netlfify working_directory: ~/deploy-netlfify
@ -68,7 +68,7 @@ workflows:
- prod-build: - prod-build:
requires: requires:
- install - install
- deploy:
- deploy-netlify:
context: netlify_devops_final context: netlify_devops_final
requires: requires:
- prod-build - prod-build
Loading…
Cancel
Save