Skip to content

Use the consolidated PHP and JavaScript check workflows - #1

Open
jeremyfelt wants to merge 3 commits into
mainfrom
task/consolidated-checks
Open

Use the consolidated PHP and JavaScript check workflows#1
jeremyfelt wants to merge 3 commits into
mainfrom
task/consolidated-checks

Conversation

@jeremyfelt

Copy link
Copy Markdown
Member

Replaces the single-purpose check workflows with the consolidated php-checks and js-checks workflows from happyprime/workflows.

Each consolidated workflow pays for checkout, language setup, and dependency install once instead of once per check, and runs every check it finds configured so a single push reports every problem at once.

What this changes here

  • Adds .github/workflows/js-checks.yml.
  • No existing check workflows to remove.
  • npm scripts detected: ESLint (npm run lint:js), Stylelint (npm run lint:css), Unit tests (npm run test).

Checks running in CI here for the first time

These are configured in the repository but had no workflow, so this pull request is the first time they run. A failure below is a pre-existing issue this surfaces, not something this pull request introduces:

  • ESLint
  • Stylelint
  • Unit tests

A check that is configured but cannot run (missing binary, missing bin/install-wp-tests.sh, a config with no npm script) is skipped and reported in a pull request comment rather than failed.

Once this is merged the two files move under sync management in happyprime/projects.

🤖 Generated with Claude Code

jeremyfelt and others added 3 commits August 1, 2026 10:16
Replaces the single-purpose check workflows with the consolidated php-checks and js-checks workflows from happyprime/workflows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- version='1.0.0'
- keywords=['wordpress', 'wordpress-plugin']
- homepage='https://github.com/happyprime/query-filter/'
- repository='github'
- bugs='https://github.com/happyprime/query-filter/issues'
- lint:package added
- devDeps: npm-package-json-lint, @wordpress/npm-package-json-lint-config
- npmpackagejsonlint config added

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Formatting only, applied with the project's own fix script.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant