Repository navigation
Internal: Update Node and GitHub Actions versions in workflows [TMZ-1085] - #709
Merged
Merged
Conversation
Bump Node.js to 22.x across CI jobs, upgrade official GitHub Actions to current majors, refresh setup-php pin, and tighten workflow permissions and checkout settings for the public repository. Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
Co-authored-by: Netanel Baba <Ntnelbaba@users.noreply.github.com>
Hello Elementor BuildLast updated at: 20261103.0858 ✅ Hello Elementor build is ready for download. You can download the latest build from the link below: The build is available for 7 days. |
WordPress Theme CheckStatus: passed (exit code 0) Ran Theme Check against the packaged |
Svitlana-Dykun
approved these changes
Nov 3, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernizes CI under
.github/workflowsand.github/workflows/permissions: Node.js 22.x (current Active LTS), current major versions of official GitHub Actions, refreshedshivammathur/setup-phppin, runner updates, and workflow permission/input hardening appropriate for a public repository.Node.js
build.yml,lint.yml,theme-check.yml18.x22.xplaywright.yml'20''22'playwright-with-specific-*.yml(3 jobs each)20.x22.xLocal verification on Node 22.23.4:
npm ciandnpm run lint:jssucceed.npm run build:prodwas not run locally (Composer is not installed in the agent environment); CI jobs already install Composer before production builds.GitHub Actions and runners (by workflow)
lint.ymlactions/checkoutlint.ymlactions/setup-nodelint.ymlactions/cachelint.ymlshivammathur/setup-php4424c9a…(# v2.40.0)build.ymlactions/checkoutbuild.ymlactions/setup-nodebuild.ymlactions/cachebuild.ymlactions/upload-artifactdeploy.ymlactions/checkoutdeploy.ymlactions/download-artifactphpunit.ymlactions/checkoutphpunit.ymlruns-on(test jobs)ubuntu-22.04ubuntu-22.04; see adaptations)playwright.ymlactions/checkoutplaywright.ymlactions/setup-nodeplaywright.ymlactions/upload-artifacttheme-check.ymlactions/checkouttheme-check.ymlactions/setup-nodetheme-check.ymlactions/upload-artifactcherry-pick-validation.ymlactions/checkoutcherry-pick-validation.ymlactions/github-scriptcherry-pick-pr.ymlactions/checkoutdaily-test-matrix.ymlactions/checkoutdaily-test-matrix.ymlactions/github-scriptdaily-test-matrix.ymlactions/upload-artifact/download-artifactdaily-test-matrix.ymlruns-onubuntu-22.04ubuntu-latestplaywright-with-specific-elementor-version.ymlplaywright-with-specific-hello-plus-version.ymlplayground-preview.ymlpersist-credentials: falseon checkoutThird-party actions already on latest major:
peter-evans/find-comment@v4,peter-evans/create-or-update-comment@v5,technote-space/get-diff-action@v6.Adaptations
lint.yml: Replaced deprecated::set-outputwith$GITHUB_OUTPUTfor the Composer cache directory step.permissions:(contents: readby default); elevated per job where comments, artifacts, deployments, or git push are required.persist-credentials: falsewherever git push is not required; leftpersist-credentials: trueoncherry-pick-pr.yml(needs credentials to push cherry-pick branches).run:interpolation intoenvwhere practical.cherry-pick-pr.yml: Still usespull_request_targetfor post-merge/cp_*label handling; continues to check outbase.refonly (not the PR head).phpunit.yml: Kept matrix jobs onubuntu-22.04after a failed trial onubuntu-latest(svn: command not foundinbin/install-wp-tests.sh).Removed workflows
None. All 12 workflow files under
.github/workflows/are referenced by triggers,workflow_call, deploy/build wiring, or daily matrix dispatch.Deliberately not changed
actions/checkout@v7playground-preview.yml).peter-evans/*,technote-space/get-diff-action@v6phpunit.ymlruns-on: ubuntu-22.04mysql:5.7service inphpunit.ymlpackage.json,.nvmrc✨ PR Description
1. Problem & Context
Update Node.js and GitHub Action versions across all workflows to maintain support, improve security, and leverage newer runner capabilities.
2. What Changed (Where)
.github/workflows/build.yml.github/workflows/cherry-pick-pr.yml.github/workflows/cherry-pick-validation.yml.github/workflows/daily-test-matrix.yml.github/workflows/deploy.yml.github/workflows/lint.yml.github/workflows/permissions/action.yml.github/workflows/phpunit.yml.github/workflows/playground-preview.yml.github/workflows/playwright-*.yml.github/workflows/theme-check.yml3. How It Works
${{ }}interpolation in shell scripts withenvmappings to prevent shell injection.Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how