|
|
@ -1,11 +1,14 @@ |
|
|
version: 2.1 |
|
|
version: 2.1 |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
|
|
|
|
|
|
cache: $shared-config |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run |
|
|
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run |
|
|
auth: |
|
|
auth: |
|
|
username: mydockerhub-user |
|
|
username: mydockerhub-user |
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference |
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference |
|
|
|
|
|
build: |
|
|
|
|
|
check-format: |
|
|
|
|
|
<<: *shared-config |
|
|
steps: |
|
|
steps: |
|
|
- checkout # check out the code in the project directory |
|
|
- checkout # check out the code in the project directory |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
- run: yarn global add node-gyp && yarn install |
|
|
|