Browse Source

Update config.yml

main
Alexandre SOARES 5 years ago
parent
commit
a9fcc9d603
  1. 24
      .circleci/config.yml

24
.circleci/config.yml

@ -1,5 +1,6 @@
version: 2.1
jobs:
workflows:
version: 2.1
jobs:
build: build:
docker: docker:
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run - image: cimg/node:14.15.0 # the primary container, where your job's commands are run
@ -9,4 +10,21 @@ jobs:
steps: steps:
- checkout # check out the code in the project directory - checkout # check out the code in the project directory
- run: yarn install - run: yarn install
- save_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths:
- node_modules #ça marche jusqu'ici pour l'instant
jobsbis:
build:
docker:
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run
auth:
username: mydockerhub-user
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout # check out the code in the project directory
- run:
- restore_cache:
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
paths:
- node_modules #ça marche jusqu'ici pour l'instant
Loading…
Cancel
Save