|
|
@ -4,9 +4,14 @@ jobs: |
|
|
build: |
|
|
build: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.10.1 |
|
|
- image: cimg/node:14.10.1 |
|
|
auth: |
|
|
|
|
|
username: mydockerhub-user |
|
|
|
|
|
password: $DOCKERHUB_PASSWORD |
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
|
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
paths: |
|
|
|
|
|
- ./node_modules |