diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b99616aa290..7823b528a2b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -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