what if we let everything hoist now that we're caching all node_modules?
This commit is contained in:
parent
586f973f66
commit
56337560dd
1 changed files with 3 additions and 5 deletions
8
.github/workflows/tests.new-design.yml
vendored
8
.github/workflows/tests.new-design.yml
vendored
|
@ -34,11 +34,11 @@ jobs:
|
|||
with:
|
||||
# caching node_modules
|
||||
path: '**/node_modules'
|
||||
key: node_modules_execa-${{ hashFiles('yarn.lock') }}
|
||||
key: node_modules-${{ hashFiles('yarn.lock') }}
|
||||
lookup-only: true
|
||||
- name: Install dependencies
|
||||
if: steps.diff.outputs.files && steps.cache_node_modules.outputs.cache-hit != 'true'
|
||||
run: npx lerna bootstrap --nohoist=execa
|
||||
run: npx lerna bootstrap
|
||||
env:
|
||||
CI: true
|
||||
|
||||
|
@ -65,9 +65,7 @@ jobs:
|
|||
with:
|
||||
# caching node_modules
|
||||
path: '**/node_modules'
|
||||
key: node_modules-execa${{ hashFiles('yarn.lock') }}
|
||||
- name: Check execa version
|
||||
run: yarn list --pattern execa
|
||||
key: node_modules-${{ hashFiles('yarn.lock') }}
|
||||
- name: Prebuild i18n
|
||||
run: yarn i18n-only
|
||||
working-directory: ./packages/new-design
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue