|
@@ -20,7 +20,7 @@ jobs:
|
|
|
strategy:
|
|
strategy:
|
|
|
matrix:
|
|
matrix:
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
- node-version: [12.x, 14.x, 16.x]
|
|
|
|
|
|
|
+ node-version: [14.x, 16.x]
|
|
|
fail-fast: false
|
|
fail-fast: false
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
@@ -49,9 +49,9 @@ jobs:
|
|
|
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
|
with:
|
|
with:
|
|
|
path: '**/node_modules'
|
|
path: '**/node_modules'
|
|
|
- key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
|
|
+ key: ${{ runner.os }}-${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
restore-keys: |
|
|
restore-keys: |
|
|
|
- ${{ runner.os }}-yarn-
|
|
|
|
|
|
|
+ ${{ runner.os }}-${{ matrix.node-version }}-yarn-
|
|
|
- name: Yarn install
|
|
- name: Yarn install
|
|
|
if: steps.yarn-cache.outputs.cache-hit != 'true'
|
|
if: steps.yarn-cache.outputs.cache-hit != 'true'
|
|
|
run: |
|
|
run: |
|