|
|
@ -12,15 +12,15 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
# Commands are run in a Windows virtual machine environment |
|
|
# Commands are run in a Windows virtual machine environment |
|
|
- checkout |
|
|
- checkout |
|
|
- run: yarn global add node-gyp |
|
|
|
|
|
- run: yarn install |
|
|
|
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
- save_cache: |
|
|
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
paths: |
|
|
|
|
|
- ~/.cache/yarn |
|
|
|
|
|
|
|
|
- run: yarn global add node-gyp |
|
|
|
|
|
- run: yarn install |
|
|
- run: yarn lint |
|
|
- run: yarn lint |
|
|
- run: yarn format:write |
|
|
- run: yarn format:write |
|
|
- run: yarn format:check |
|
|
- run: yarn format:check |
|
|
- run: yarn test:ci |
|
|
- run: yarn test:ci |
|
|
|
|
|
- save_cache: |
|
|
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
paths: |
|
|
|
|
|
- ~/.cache/yarn |