NicolasLepinette
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
3 deletions
-
.circleci/config.yml
|
|
|
@ -1,11 +1,19 @@ |
|
|
|
vversion: 2.1 |
|
|
|
workflows: |
|
|
|
version: 2.1 |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
docker: |
|
|
|
- image: cimg/node:14.10.1 # the primary container, where your job's comm> |
|
|
|
- image: cimg/node:14.10.1 |
|
|
|
auth: |
|
|
|
username: mydockerhub-user |
|
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var referen> |
|
|
|
steps: |
|
|
|
- checkout # check out the code in the project directory |
|
|
|
- checkout |
|
|
|
- run: yarn global add node-gyp && yarn install |
|
|
|
- run: yarn lint |
|
|
|
- run: yarn format:check |
|
|
|
- run: yarn test:ci |
|
|
|
- save_cache: |
|
|
|
key: yarn-packages-{{ checksum "yarn.lock" }} |
|
|
|
paths: |
|
|
|
- ./node_modules |