diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 0fad8eb99c..3a3e414828 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -30,10 +30,15 @@ jobs: ~/.cache/ms-playwright/ ~\AppData\Local\ms-playwright\ key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }} + - name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: npm ci + - name: Install Playwright + if: steps.cache.outputs.cache-hit != 'true' + run: npx playwright install --with-deps + - name: Lint run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7164d9bebc..58de00d98a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,10 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: npm ci + - name: Install Playwright + if: steps.cache.outputs.cache-hit != 'true' + run: npx playwright install --with-deps + - name: Lint run: npm run lint