Skip to content

Modernize build system and CI/CD - #7

Merged
fumikito merged 5 commits into
masterfrom
feature/ai-search
Jan 23, 2026
Merged

Modernize build system and CI/CD#7
fumikito merged 5 commits into
masterfrom
feature/ai-search

Conversation

@fumikito

Copy link
Copy Markdown
Member

Summary

  • Migrate build system from gulp to wp-scripts + @kunoichi/grab-deps
  • Migrate CI/CD from Travis CI to GitHub Actions
  • Update PHP requirement from 5.4 to 7.4
  • Update WordPress compatibility to 6.6+
  • Add husky + lint-staged for pre-commit hooks

Changes

Build System

  • Replace gulp with wp-scripts for linting
  • Use @kunoichi/grab-deps for JS/CSS bundling
  • Use sass + postcss for SCSS compilation

CI/CD

  • test.yml: Run PHP/JS/CSS tests on PR and push
  • release-drafter.yml: Auto-draft releases on master merge
  • wordpress.yml: Deploy to WordPress.org on release publish
  • wp-outdated.yml: Monthly WordPress version check

Code Quality

  • Fix all PHPCS errors
  • Update phpcs.ruleset.xml with modern rules
  • Add pre-commit hooks with husky

Test plan

  • GitHub Actions tests pass
  • npm run package builds assets correctly
  • composer lint passes

🤖 Generated with Claude Code

fumikito and others added 5 commits January 23, 2026 18:36
- Replace gulp with @wordpress/scripts for linting (eslint, stylelint)
- Use @kunoichi/grab-deps for JS/CSS build
- Use sass + postcss for SCSS compilation
- Add wp-dependencies.json auto-registration in hamelp.php
- Refactor SearchBoxShortCode to use auto-registered assets
- Update JS to ESLint-compliant code with defer strategy
- Remove gulpfile.js, .jshintrc
- Add .stylelintrc.json

Co-authored-by: Claude <noreply@anthropic.com>
- Migrate PHP requirement from 5.4 to 7.4
- Update WordPress compatibility to 6.6+
- Update composer dependencies (PHPCS 3.x, PHPUnit 9.x)
- Rename phpcs.xml.dist to phpcs.ruleset.xml with updated rules
- Fix PHPCS errors: doc comments, strict comparisons, escaping
- Update bin/build.sh for modern deployment

Co-authored-by: Claude <noreply@anthropic.com>
- test.yml: Run PHP/JS/CSS tests on PR and push
- release-drafter.yml: Auto-draft releases on master merge
- wordpress.yml: Deploy to WordPress.org on release publish
- wp-outdated.yml: Monthly WordPress version check

Co-authored-by: Claude <noreply@anthropic.com>
- Run npm run lint:js for JS files
- Run npm run lint:css for SCSS files
- Run composer lint for PHP files

Co-authored-by: Claude <noreply@anthropic.com>
@fumikito
fumikito merged commit 94f12a7 into master Jan 23, 2026
9 checks passed
@fumikito
fumikito deleted the feature/ai-search branch January 23, 2026 14:02
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