Repository navigation
fix: Update CI workflows and dependencies - #55
Merged
Merged
Conversation
Upgrades `actions/setup-node` to v7 and adds `npm` caching across all Node.js-related workflows. Resolves deprecated `::set-output` command in the `release.yml` workflow, switching to `GITHUB_OUTPUT`. Replaces `npm install` with `npm ci` in `release.yml` for more reliable dependency management. Updates `@wordpress/scripts` package dependency.
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.
Upgrades
actions/setup-nodeto v7 and addsnpmcaching across all Node.js-related workflows. Resolves deprecated::set-outputcommand in therelease.ymlworkflow, switching toGITHUB_OUTPUT. Replacesnpm installwithnpm ciinrelease.ymlfor more reliable dependency management. Updates@wordpress/scriptspackage dependency.Note
Low Risk
Changes are limited to dev tooling and CI; the only source edit is JSDoc return types with no runtime behavior impact.
Overview
Modernizes JS linting and CI by upgrading
@wordpress/scriptsfrom v30 to v32 and moving from legacy.eslintrcto flat config ineslint.config.cjs(extends@wordpress/scriptsdefaults, keeps Jestjest-environmentJSDoc rules fortests/js, disables jsdoc tag checks for Playwright). Addsglobalsand@wordpress/elementas dev dependencies to support the new ESLint stack.GitHub Actions bump
actions/setup-nodeto v7, enablecache: 'npm'on Node setup steps (including JS quality checks), and standardize onnpm ci.release.ymlreplaces deprecated::set-outputwithGITHUB_OUTPUTheredoc for.plugin-data.A small JSDoc-only change in
TabsAddRemoveControls.jsupdates@returntypes from{JSX.Element}to{Element}for ESLint/jsdoc compatibility.Reviewed by Cursor Bugbot for commit 841b305. Bugbot is set up for automated code reviews on this repo. Configure here.