|
|
@@ -194,31 +194,24 @@ jobs:
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
- - uses: actions/setup-node@v2
|
|
|
- with:
|
|
|
- node-version: ${{ inputs.node-version }}
|
|
|
- cache: 'yarn'
|
|
|
- cache-dependency-path: '**/yarn.lock'
|
|
|
-
|
|
|
- # workaround by https://github.com/cypress-io/github-action/issues/407
|
|
|
- - name: Setup yarn cache settings
|
|
|
- run: yarn config set cache-folder ~/.cache/yarn
|
|
|
+ - name: Get yarn cache dir
|
|
|
+ id: yarn-cache-dir
|
|
|
+ run: |
|
|
|
+ echo "::set-output name=value::`yarn cache dir --silent`"
|
|
|
|
|
|
- - name: Cache/Restore node_modules
|
|
|
+ - name: Cache/Restore dependencies
|
|
|
uses: actions/cache@v2
|
|
|
with:
|
|
|
path: |
|
|
|
**/node_modules
|
|
|
~/.cache/Cypress
|
|
|
- key: node_modules-and-cypress-bin-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
+ ${{ steps.yarn-cache-dir.outputs.value }}
|
|
|
+ key: deps-for-cypress-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
restore-keys: |
|
|
|
- node_modules-and-cypress-bin-${{ runner.OS }}-node${{ inputs.node-version }}
|
|
|
+ deps-for-cypress-${{ runner.OS }}-node${{ inputs.node-version }}
|
|
|
|
|
|
- name: lerna bootstrap
|
|
|
run: |
|
|
|
- whoami
|
|
|
- ls -al .
|
|
|
- ls -al packages/app
|
|
|
npx lerna bootstrap -- --frozen-lockfile
|
|
|
|
|
|
- name: Download production files artifact
|