diff --git a/.github/workflows/run-test-and-deploy.yml b/.github/workflows/run-test-and-deploy.yml index d8d6d16..878fb41 100644 --- a/.github/workflows/run-test-and-deploy.yml +++ b/.github/workflows/run-test-and-deploy.yml @@ -54,6 +54,10 @@ jobs: - name: Running lint check run: npm run lint + - name: Install Playwright dependencies + run: | + npx playwright install chromium firefox webkit --with-deps + - name: Install WordPress run: | WP_ENV_CORE=WordPress/${{ matrix.wp }} WP_ENV_PHP_VERSION=${{ matrix.php }} npm run wp-env start diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index 7819345..f026a84 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -56,6 +56,10 @@ jobs: - name: Running lint check run: npm run lint + - name: Install Playwright dependencies + run: | + npx playwright install chromium firefox webkit --with-deps + - name: Install WordPress run: | WP_ENV_CORE=WordPress/${{ matrix.wp }} WP_ENV_PHP_VERSION=${{ matrix.php }} npm run wp-env start