|
|
@ -2,6 +2,7 @@ workflows: |
|
|
build_and_test: |
|
|
build_and_test: |
|
|
jobs: |
|
|
jobs: |
|
|
- build |
|
|
- build |
|
|
|
|
|
- test |
|
|
version: 2.1 |
|
|
version: 2.1 |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
build: |
|
|
@ -17,5 +18,15 @@ workflows: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- node_modules #ça marche jusqu'ici pour l'instant |
|
|
- node_modules #ça marche jusqu'ici pour l'instant |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run |
|
|
|
|
|
auth: |
|
|
|
|
|
username: xaela37 |
|
|
|
|
|
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" }} |
|
|
|
|
|
|