|
|
@@ -197,22 +197,22 @@ jobs:
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
- - name: Get yarn cache dir
|
|
|
- id: yarn-cache-dir
|
|
|
- run: |
|
|
|
- echo "::set-output name=value::`yarn cache dir --silent`"
|
|
|
+ - uses: actions/setup-node@v3
|
|
|
+ with:
|
|
|
+ node-version: ${{ matrix.node-version }}
|
|
|
+ cache: 'yarn'
|
|
|
+ cache-dependency-path: '**/yarn.lock'
|
|
|
|
|
|
- - name: Cache/Restore dependencies
|
|
|
+ - name: Cache/Restore node_modules
|
|
|
+ id: cache-dependencies
|
|
|
uses: actions/cache@v3
|
|
|
with:
|
|
|
path: |
|
|
|
**/node_modules
|
|
|
- ~/.cache/Cypress
|
|
|
- ${{ steps.yarn-cache-dir.outputs.value }}
|
|
|
- key: deps-for-cypress-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('packages/app/package.json') }}
|
|
|
+ key: node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('packages/app/package.json') }}
|
|
|
restore-keys: |
|
|
|
- deps-for-cypress-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
- deps-for-cypress-${{ runner.OS }}-node${{ inputs.node-version }}
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
|
|
|
- name: lerna bootstrap
|
|
|
run: |
|