From 9d9382e492ed98df19e34cb45f0fc96febe2752b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 21 Apr 2026 13:31:36 +0200 Subject: [PATCH 1/2] Test updates. --- .github/workflows/coding-standards.yml | 4 ---- tests/acceptance/playwright.config.ts | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 42e9ac1..d556af2 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -8,8 +8,6 @@ on: - 'trunk' paths: - '.github/workflows/coding-standards.yml' - - '**.css' - - '**.js' - '**.php' - 'composer.json' - 'phpcs.xml.dist' @@ -18,8 +16,6 @@ on: - '**' paths: - '.github/workflows/coding-standards.yml' - - '**.css' - - '**.js' - '**.php' - 'composer.json' - 'phpcs.xml.dist' diff --git a/tests/acceptance/playwright.config.ts b/tests/acceptance/playwright.config.ts index 3b462c7..1eb1875 100644 --- a/tests/acceptance/playwright.config.ts +++ b/tests/acceptance/playwright.config.ts @@ -7,12 +7,13 @@ if ( ! baseURL ) { export default defineConfig({ testDir: '.', - outputDir: '../_output', + outputDir: '../test-results', fullyParallel: false, forbidOnly: !!process.env.CI, workers: 1, reporter: 'list', use: { + actionTimeout: 3_000, baseURL, ...devices['Desktop Chrome'], /* This avoids the need to run `npx playwright install` in CI. */ From 8e9c763cd0ab7d803a5b62adcafd739169c1f714 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 21 Apr 2026 21:35:07 +0200 Subject: [PATCH 2/2] Update plugin-infrastructure. --- .github/workflows/acceptance-tests.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/coding-standards.yml | 2 +- .github/workflows/deploy-assets.yml | 2 +- .github/workflows/deploy-tag.yml | 2 +- .github/workflows/integration-tests.yml | 2 +- .github/workflows/lint-workflows.yml | 2 +- .github/workflows/nightly-tests.yml | 4 ++-- .github/workflows/static-analysis.yml | 2 +- .github/workflows/verify-distribution.yml | 2 +- composer.json | 2 +- package-lock.json | 10 +++++----- package.json | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index b52c65c..ad84cd7 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -61,7 +61,7 @@ jobs: - wp: '6.4' php: '7.4' fail-fast: false - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 with: node: false php: ${{ matrix.php }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bfbbd0..b26a755 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: name: Build permissions: contents: write - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-build.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-build.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 with: node: false tag: ${{ github.event_name != 'workflow_dispatch' }} diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index d556af2..29ce884 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -28,7 +28,7 @@ jobs: name: ${{ matrix.label }} permissions: contents: read - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-coding-standards.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-coding-standards.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 strategy: matrix: label: diff --git a/.github/workflows/deploy-assets.yml b/.github/workflows/deploy-assets.yml index 328098d..d7b802e 100644 --- a/.github/workflows/deploy-assets.yml +++ b/.github/workflows/deploy-assets.yml @@ -13,7 +13,7 @@ jobs: name: WordPress.org permissions: contents: read - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-assets.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-assets.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 with: plugin: wp-crontrol readme: readme.txt diff --git a/.github/workflows/deploy-tag.yml b/.github/workflows/deploy-tag.yml index 9bec054..d38a2ea 100644 --- a/.github/workflows/deploy-tag.yml +++ b/.github/workflows/deploy-tag.yml @@ -19,7 +19,7 @@ jobs: deploy: name: Deploy Tag if: github.event_name == 'workflow_dispatch' || github.event.release.prerelease == false - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-tag.yml@8d8ccc89b04d85ae8d064774d63d8725799f4224 # 2.7.3 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-tag.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 permissions: contents: write issues: write diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 38efdab..34924b5 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -40,7 +40,7 @@ jobs: name: WP ${{ matrix.wp }} permissions: contents: read - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 strategy: # See the following for PHP compatibility of WordPress versions: # https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/ diff --git a/.github/workflows/lint-workflows.yml b/.github/workflows/lint-workflows.yml index 9510227..c537774 100644 --- a/.github/workflows/lint-workflows.yml +++ b/.github/workflows/lint-workflows.yml @@ -27,4 +27,4 @@ jobs: security-events: write actions: read contents: read - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-workflow-lint.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-workflow-lint.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 diff --git a/.github/workflows/nightly-tests.yml b/.github/workflows/nightly-tests.yml index c6820f6..aee6efb 100644 --- a/.github/workflows/nightly-tests.yml +++ b/.github/workflows/nightly-tests.yml @@ -37,7 +37,7 @@ jobs: - '8.3' - '7.4' fail-fast: false - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 with: node: false php: ${{ matrix.php }} @@ -48,7 +48,7 @@ jobs: name: Nightly ${{ matrix.label }} permissions: contents: read - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-integration-tests.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 strategy: matrix: label: diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 39f828a..e5550e4 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -28,7 +28,7 @@ jobs: name: ${{ matrix.label }} permissions: contents: read - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-static-analysis.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-static-analysis.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 strategy: matrix: label: diff --git a/.github/workflows/verify-distribution.yml b/.github/workflows/verify-distribution.yml index 022b996..6cf3517 100644 --- a/.github/workflows/verify-distribution.yml +++ b/.github/workflows/verify-distribution.yml @@ -34,7 +34,7 @@ jobs: permissions: contents: write # Needed to push commits pull-requests: write # Needed to create a PR - uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-verify-distribution.yml@bb606d520dfe6131697c80bfe0f4eabc7b8a46a6 # 2.8.0 + uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-verify-distribution.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 with: plugin: wp-crontrol owner: johnbillion diff --git a/composer.json b/composer.json index bc3116c..010dfb7 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ } }, "require-dev": { - "johnbillion/plugin-infrastructure": "2.8.0", + "johnbillion/plugin-infrastructure": "2.9.1", "johnbillion/wp-compat": "1.4.0", "php-stubs/wordpress-stubs": "6.9.0", "phpcompatibility/phpcompatibility-wp": "2.1.8", diff --git a/package-lock.json b/package-lock.json index a0a53b2..6879dfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.21.0", "license": "GPL-2.0-or-later", "devDependencies": { - "@johnbillion/plugin-infrastructure": "2.8.0", + "@johnbillion/plugin-infrastructure": "2.9.1", "@jsdevtools/version-bump-prompt": "6.1.0", "@playwright/test": "^1.55.0", "@types/node": "^24.3.0", @@ -459,13 +459,13 @@ } }, "node_modules/@johnbillion/plugin-infrastructure": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/@johnbillion/plugin-infrastructure/-/plugin-infrastructure-2.8.0.tgz", - "integrity": "sha512-abfnaBHpoZn6QU+TJjMIMG/mKqEsxxfCunrPilc7QYebq0vAAy0qYKMNA8YTnix72hxRpdaxRanNTcPXri56SQ==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@johnbillion/plugin-infrastructure/-/plugin-infrastructure-2.9.1.tgz", + "integrity": "sha512-7ZfUv+BM5/0KzzH/GUgCg9Qyb2UYJP5Uv8dfqMcpRVqxx5YJI5sVa6BSnN3yoFpe/lgGXZ5WPN409Z9ZcKfZcA==", "dev": true, "license": "MIT", "engines": { - "node": ">=20" + "node": ">=24" } }, "node_modules/@jsdevtools/ez-spawn": { diff --git a/package.json b/package.json index 45880ae..acb155b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "node": ">=24" }, "devDependencies": { - "@johnbillion/plugin-infrastructure": "2.8.0", + "@johnbillion/plugin-infrastructure": "2.9.1", "@jsdevtools/version-bump-prompt": "6.1.0", "@playwright/test": "^1.55.0", "@types/node": "^24.3.0",