|
|
@ -9,8 +9,16 @@ jobs: |
|
|
name: win/default # executor type |
|
|
name: win/default # executor type |
|
|
size: "medium" # resource class, can be "medium", "large", "xlarge", "2xlarge", defaults to "medium" if not specified |
|
|
size: "medium" # resource class, can be "medium", "large", "xlarge", "2xlarge", defaults to "medium" if not specified |
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
# Commands are run in a Windows virtual machine environment |
|
|
|
|
|
|
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- run: Write-Host 'Hello WORLD !' |
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: yarn-cache{{ checksum "yarn.lock" }} |
|
|
|
|
|
- run: |
|
|
|
|
|
name: install-yarn |
|
|
|
|
|
command : yarn global add node-gyp && yarn install |
|
|
|
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
|
key: yarn-cache{{ checksum "yarn.lock" }} |
|
|
|
|
|
paths: |
|
|
|
|
|
- ./node_modules |
|
|
|
|
|
|