|
|
|
@ -25,17 +25,17 @@ jobs: |
|
|
|
with: |
|
|
|
node-version: '14.x' |
|
|
|
|
|
|
|
# - name: Get yarn cache |
|
|
|
# id: yarn-cache |
|
|
|
# run: echo "::set-output name=dir::$(yarn cache dir)" |
|
|
|
|
|
|
|
# - name: Cache dependencies |
|
|
|
# uses: actions/cache@v2 |
|
|
|
# with: |
|
|
|
# path: ${{ steps.yarn-cache.outputs.dir }} |
|
|
|
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
|
|
|
# restore-keys: | |
|
|
|
# ${{ runner.os }}-yarn- |
|
|
|
- name: Get yarn cache |
|
|
|
id: yarn-cache |
|
|
|
run: echo "::set-output name=dir::$(yarn cache dir)" |
|
|
|
|
|
|
|
- name: Cache dependencies |
|
|
|
uses: actions/cache@v2 |
|
|
|
with: |
|
|
|
path: ${{ steps.yarn-cache.outputs.dir }} |
|
|
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
|
|
|
restore-keys: | |
|
|
|
${{ runner.os }}-yarn- |
|
|
|
|
|
|
|
- name: Build |
|
|
|
run: | |
|
|
|
|