|
|
@ -21,8 +21,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- checkout # check out the code in the project directory |
|
|
- checkout # check out the code in the project directory |
|
|
- run: yarn install |
|
|
- run: yarn install |
|
|
- restore_cache: |
|
|
|
|
|
|
|
|
- save_cache: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
path: |
|
|
|
|
|
- node_module |
|
|
job2: |
|
|
job2: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run |
|
|
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run |
|
|
@ -31,6 +33,8 @@ jobs: |
|
|
password: $PSW_DOCKER # context / project UI env-var reference |
|
|
password: $PSW_DOCKER # context / project UI env-var reference |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
- run: yarn lint |
|
|
- run: yarn lint |
|
|
- run: yarn format:check |
|
|
- run: yarn format:check |
|
|
# job3: |
|
|
# job3: |
|
|
|