1
0
Fork 0

experiment with node_modules caching in e2e workflow [vercel skip]

This commit is contained in:
Enoch Riese 2023-04-20 14:07:27 -04:00
parent ce1b3e04ae
commit d70e747df7

View file

@ -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