diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b87fe31..af2e875 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,6 +61,18 @@ jobs: - name: Install pnpm dependencies run: pnpm install + - name: Cache wp-env + uses: actions/cache@v4 + with: + path: ~/.wp-env + key: ${{ runner.os }}-wp-env-${{ matrix.wp }}-${{ matrix.php }}-${{ hashFiles('.wp-env.json') }} + + - name: Cache Playwright browsers + uses: actions/cache@v4 + with: + path: ~/.cache/ms-playwright + key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} + - name: Set WordPress and PHP version override run: | echo '{