diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 9d79266d9d8f7..0e4133a3581db 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -44,7 +44,7 @@ jobs: # Runs PHP coding standards checks. phpcs: name: PHP coding standards - uses: WordPress/wordpress-develop/.github/workflows/reusable-coding-standards-php.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-coding-standards-php.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} @@ -52,14 +52,14 @@ jobs: # Runs the JavaScript coding standards checks. jshint: name: JavaScript coding standards - uses: WordPress/wordpress-develop/.github/workflows/reusable-coding-standards-javascript.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-coding-standards-javascript.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -75,7 +75,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ phpcs, jshint, slack-notifications ] diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index d28bf932a37a1..d97abb5b97e39 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -33,7 +33,7 @@ jobs: # Runs the end-to-end test suite. e2e-tests: name: Test with SCRIPT_DEBUG ${{ matrix.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }} - uses: WordPress/wordpress-develop/.github/workflows/reusable-end-to-end-tests.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-end-to-end-tests.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} @@ -47,7 +47,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -63,7 +63,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ e2e-tests, slack-notifications ] diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 790ee9924435f..6b36ccbd5f271 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -42,14 +42,14 @@ jobs: # Runs the QUnit tests for WordPress. test-js: name: QUnit Tests - uses: WordPress/wordpress-develop/.github/workflows/reusable-javascript-tests.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-javascript-tests.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -65,7 +65,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index c33a922ee5759..f1f96f74334d3 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -38,14 +38,14 @@ jobs: # Runs PHP compatibility testing. php-compatibility: name: Check PHP compatibility - uses: WordPress/wordpress-develop/.github/workflows/reusable-php-compatibility.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-php-compatibility.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -61,7 +61,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 09201c6d70c5c..645112b5d9659 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -32,7 +32,7 @@ jobs: # test-with-mysql: name: PHP ${{ matrix.php }} - uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@update-runners-ubuntu-26.04 permissions: contents: read secrets: inherit @@ -40,7 +40,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-latest ] + os: [ ubuntu-26.04 ] # Test highest and lowest supported version of each major. php: [ '7.0', '7.4', '8.0', '8.3' ] db-type: [ 'mysql' ] @@ -50,20 +50,20 @@ jobs: include: # Include jobs for PHP 7.4 with memcached. - - os: ubuntu-latest + - os: ubuntu-26.04 php: '7.4' db-type: 'mysql' db-version: '5.7' multisite: false memcached: true - - os: ubuntu-latest + - os: ubuntu-26.04 php: '7.4' db-type: 'mysql' db-version: '5.7' multisite: true memcached: true # Report test results to the Host Test Results. - - os: ubuntu-latest + - os: ubuntu-26.04 php: '7.4' db-type: 'mysql' db-version: '5.7' @@ -85,7 +85,7 @@ jobs: # test-with-mariadb: name: PHP ${{ matrix.php }} - uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@update-runners-ubuntu-26.04 permissions: contents: read secrets: inherit @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-latest ] + os: [ ubuntu-26.04 ] # Test highest and lowest supported version of each major. php: [ '7.0', '7.4', '8.0', '8.3' ] db-type: [ 'mariadb' ] @@ -103,13 +103,13 @@ jobs: include: # Include jobs for PHP 7.4 with memcached. - - os: ubuntu-latest + - os: ubuntu-26.04 php: '7.4' db-type: 'mariadb' db-version: '10.11' multisite: false memcached: true - - os: ubuntu-latest + - os: ubuntu-26.04 php: '7.4' db-type: 'mariadb' db-version: '10.11' @@ -127,7 +127,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -143,7 +143,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/test-build-processes.yml b/.github/workflows/test-build-processes.yml index f3abf5b5cba83..7860cb8a789c8 100644 --- a/.github/workflows/test-build-processes.yml +++ b/.github/workflows/test-build-processes.yml @@ -38,18 +38,18 @@ jobs: # Tests the WordPress Core build process on multiple operating systems. test-core-build-process: name: Core running from ${{ matrix.directory }} - uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} strategy: fail-fast: false matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ ubuntu-26.04, windows-latest ] directory: [ 'src', 'build' ] include: # Only prepare artifacts once. - - os: ubuntu-latest + - os: ubuntu-26.04 directory: 'build' save-build: true prepare-playground: ${{ github.event_name == 'pull_request' && true || '' }} @@ -71,7 +71,7 @@ jobs: # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability. test-core-build-process-macos: name: Core running from ${{ matrix.directory }} - uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@update-runners-ubuntu-26.04 permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' }} @@ -87,7 +87,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -103,7 +103,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/upgrade-testing-run.yml b/.github/workflows/upgrade-testing-run.yml index b129818192e83..46b12708b1f7c 100644 --- a/.github/workflows/upgrade-testing-run.yml +++ b/.github/workflows/upgrade-testing-run.yml @@ -8,7 +8,7 @@ on: description: 'Operating system to run tests on.' required: false type: 'string' - default: 'ubuntu-latest' + default: 'ubuntu-26.04' wp: description: 'The version of WordPress to start with.' required: true diff --git a/.github/workflows/upgrade-testing.yml b/.github/workflows/upgrade-testing.yml index 18a45d4bd6b98..ab7dcc377efa8 100644 --- a/.github/workflows/upgrade-testing.yml +++ b/.github/workflows/upgrade-testing.yml @@ -35,14 +35,14 @@ jobs: # Spawns upgrade testing from WordPress 6.x versions with MySQL. upgrade-tests-wp-6x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: WordPress/wordpress-develop/.github/workflows/upgrade-testing-run.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/upgrade-testing-run.yml@update-runners-ubuntu-26.04 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} permissions: contents: read strategy: fail-fast: false matrix: - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-26.04' ] php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0' ] @@ -60,12 +60,12 @@ jobs: # Spawns upgrade testing from WordPress 5.x versions on PHP 7.x with MySQL. upgrade-tests-wp-5x-php-7x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: WordPress/wordpress-develop/.github/workflows/upgrade-testing-run.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/upgrade-testing-run.yml@update-runners-ubuntu-26.04 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} strategy: fail-fast: false matrix: - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-26.04' ] php: [ '7.0', '7.1', '7.2', '7.3', '7.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0' ] @@ -87,12 +87,12 @@ jobs: # - array/string offset with curly braces. upgrade-tests-wp-5x-php-8x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: WordPress/wordpress-develop/.github/workflows/upgrade-testing-run.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/upgrade-testing-run.yml@update-runners-ubuntu-26.04 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} strategy: fail-fast: false matrix: - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-26.04' ] php: [ '8.0', '8.1', '8.2', '8.3' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0' ] @@ -110,12 +110,12 @@ jobs: # Spawns upgrade testing from WordPress 4.x versions on PHP 7.x with MySQL. upgrade-tests-wp-4x-php-7x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: WordPress/wordpress-develop/.github/workflows/upgrade-testing-run.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/upgrade-testing-run.yml@update-runners-ubuntu-26.04 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} strategy: fail-fast: false matrix: - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-26.04' ] php: [ '7.0', '7.1', '7.2', '7.3', '7.4' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0' ] @@ -137,12 +137,12 @@ jobs: # - array/string offset with curly braces. upgrade-tests-wp-4x-php-8x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: WordPress/wordpress-develop/.github/workflows/upgrade-testing-run.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/upgrade-testing-run.yml@update-runners-ubuntu-26.04 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} strategy: fail-fast: false matrix: - os: [ 'ubuntu-latest' ] + os: [ 'ubuntu-26.04' ] php: [ '8.0', '8.1', '8.2', '8.3' ] db-type: [ 'mysql' ] db-version: [ '5.7', '8.0' ] @@ -159,7 +159,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk + uses: desrosj/wordpress-develop/.github/workflows/slack-notifications.yml@update-runners-ubuntu-26.04 permissions: actions: read contents: read @@ -175,7 +175,7 @@ jobs: failed-workflow: name: Failed workflow tasks - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: actions: write needs: [ slack-notifications ] diff --git a/.github/workflows/welcome-new-contributors.yml b/.github/workflows/welcome-new-contributors.yml index 048fb787fa50d..b4270679fa9fe 100644 --- a/.github/workflows/welcome-new-contributors.yml +++ b/.github/workflows/welcome-new-contributors.yml @@ -11,7 +11,7 @@ permissions: {} jobs: # Comments on a pull request when the author is a new contributor. post-welcome-message: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: issues: write timeout-minutes: 5 diff --git a/package-lock.json b/package-lock.json index 44d3121fe0186..f0d5ea0b496bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -106,7 +106,7 @@ }, "devDependencies": { "@lodder/grunt-postcss": "^3.1.1", - "@playwright/test": "1.49.1", + "@playwright/test": "1.64.1", "@pmmmwh/react-refresh-webpack-plugin": "0.5.5", "@wordpress/babel-preset-default": "7.26.13", "@wordpress/dependency-extraction-webpack-plugin": "4.25.13", @@ -3742,19 +3742,19 @@ } }, "node_modules/@playwright/test": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.1.tgz", - "integrity": "sha512-Ky+BVzPz8pL6PQxHqNRW1k3mIyv933LML7HktS8uik0bUXNCdPhoS/kLihiO1tMf/egaJb4IutXd7UywvXEW+g==", + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.64.1.tgz", + "integrity": "sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.49.1" + "playwright": "1.64.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/@pmmmwh/react-refresh-webpack-plugin": { @@ -26648,22 +26648,19 @@ } }, "node_modules/playwright": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.1.tgz", - "integrity": "sha512-VYL8zLoNTBxVOrJBbDuRgDWa3i+mfQgDTrL8Ah9QXZ7ax4Dsj0MSq5bYgytRnDVVe+njoKnfsYkH3HzqVj5UZA==", + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz", + "integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.49.1" + "playwright-core": "1.64.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "fsevents": "2.3.2" + "node": ">=20" } }, "node_modules/playwright-core": { @@ -26679,16 +26676,16 @@ } }, "node_modules/playwright/node_modules/playwright-core": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.1.tgz", - "integrity": "sha512-BzmpVcs4kE2CH15rWfzpjzVGhWERJfmnXmniSyKeRZUs9Ws65m+RGIi7mjJK/euCegfn3i7jvqWeWyHe9y3Vgg==", + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz", + "integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==", "dev": true, "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/plur": { @@ -36761,12 +36758,12 @@ } }, "@playwright/test": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.1.tgz", - "integrity": "sha512-Ky+BVzPz8pL6PQxHqNRW1k3mIyv933LML7HktS8uik0bUXNCdPhoS/kLihiO1tMf/egaJb4IutXd7UywvXEW+g==", + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.64.1.tgz", + "integrity": "sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==", "dev": true, "requires": { - "playwright": "1.49.1" + "playwright": "1.64.1" } }, "@pmmmwh/react-refresh-webpack-plugin": { @@ -54059,19 +54056,18 @@ } }, "playwright": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.1.tgz", - "integrity": "sha512-VYL8zLoNTBxVOrJBbDuRgDWa3i+mfQgDTrL8Ah9QXZ7ax4Dsj0MSq5bYgytRnDVVe+njoKnfsYkH3HzqVj5UZA==", + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz", + "integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==", "dev": true, "requires": { - "fsevents": "2.3.2", - "playwright-core": "1.49.1" + "playwright-core": "1.64.1" }, "dependencies": { "playwright-core": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.1.tgz", - "integrity": "sha512-BzmpVcs4kE2CH15rWfzpjzVGhWERJfmnXmniSyKeRZUs9Ws65m+RGIi7mjJK/euCegfn3i7jvqWeWyHe9y3Vgg==", + "version": "1.64.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz", + "integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==", "dev": true } } diff --git a/package.json b/package.json index d0a0f3c3a7ff3..edd4e8504d485 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ ], "devDependencies": { "@lodder/grunt-postcss": "^3.1.1", - "@playwright/test": "1.49.1", + "@playwright/test": "1.64.1", "@pmmmwh/react-refresh-webpack-plugin": "0.5.5", "@wordpress/babel-preset-default": "7.26.13", "@wordpress/dependency-extraction-webpack-plugin": "4.25.13",