experiment with node_modules caching in e2e workflow [vercel skip]
This commit is contained in:
parent
ce1b3e04ae
commit
d70e747df7
1 changed files with 8 additions and 0 deletions
8
.github/workflows/playwright.yml
vendored
8
.github/workflows/playwright.yml
vendored
|
@ -15,7 +15,15 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
id: cache_node_modules
|
||||
with:
|
||||
# caching node_modules
|
||||
path: node_modules
|
||||
key: node_modules-${{ hashFiles('yarn.lock') }}
|
||||
- name: Install dependencies
|
||||
if: steps.cache_node_modules.outputs.cache-hit != 'true'
|
||||
run: npx lerna bootstrap
|
||||
- name: Prebuild
|
||||
run: npx lerna run prebuild
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue