Thaisrr
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
23 additions and
6 deletions
-
.circleci/config.yml
|
|
@ -1,8 +1,25 @@ |
|
|
version: 2.1 |
|
|
version: 2.1 |
|
|
|
|
|
workflows: |
|
|
|
|
|
workflow: |
|
|
|
|
|
jobs: |
|
|
|
|
|
- hello |
|
|
|
|
|
- install |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout # check out the code in the project directory |
|
|
|
|
|
- run: yarn global add node-gyp && yarn install |
|
|
|
|
|
|
|
|
hello: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.10.1 |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- run: echo "Hello World !" |
|
|
|
|
|
install: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.10.1 |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: yarn-package-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- run: yarn global add node-gyp && yarn install |
|
|
|
|
|
- save_cache: |
|
|
|
|
|
key: yarn-package-{{ checksum "yarn.lock" }} |
|
|
|
|
|
path: |
|
|
|
|
|
- ./node_modules |