Add env and e2e set up #569
pr-checks.yml
on: pull_request
JS: Lint, Build and Test
1m 44s
E2E Tests
3m 38s
Matrix: PHP: Lint, Test
Annotations
4 errors and 7 warnings
JS: Lint, Build and Test
No overload matches this call.
|
JS: Lint, Build and Test
Process completed with exit code 1.
|
E2E Tests
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at ../config/global-setup.ts:23
21 |
22 | // Reset the test environment before running the tests.
> 23 | await Promise.all([
| ^
24 | requestUtils.activateTheme(DEFAULT_THEME),
25 | requestUtils.deleteAllPosts(),
26 | requestUtils.deleteAllBlocks(),
at RequestUtils.rest (/home/runner/work/wp-projects/wp-projects/node_modules/.pnpm/@WordPress[email protected]_@[email protected][email protected][email protected]/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/rest.ts:127:30)
at RequestUtils.deleteAllPosts (/home/runner/work/wp-projects/wp-projects/node_modules/.pnpm/@WordPress[email protected]_@[email protected][email protected][email protected]/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/posts.ts:29:16)
at globalSetup (/home/runner/work/wp-projects/wp-projects/test/e2e/config/global-setup.ts:23:2)
|
E2E Tests
Process completed with exit code 1.
|
PHP: Lint, Test (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP: Lint, Test (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP: Lint, Test (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP: Lint, Test (8.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
JS: Lint, Build and Test
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHP: Lint, Test (7.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
E2E Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|