-
Notifications
You must be signed in to change notification settings - Fork 12
Modernize build setup and readme #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Remove Grunt build tool and readme.txt - Add wp-env configuration for local development and testing - Update readme.md to match webmention plugin format - Update tested up to WordPress 6.9
- Update deploy.yml and update-assets.yml to use readme.md - Add path filter to update-assets.yml - Add SVN installation to phpunit workflow - Update actions/checkout to v4 - Clean up .distignore
- Add path filters to only run on relevant file changes - Add concurrency to cancel outdated workflow runs - Update actions/checkout to v4 - Limit push triggers to trunk branch - Fix phpunit job name (was incorrectly named phpcs) - Update PHP version to 8.2 for phpcs workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR modernizes the build and development workflow by removing the outdated Grunt-based build system and introducing wp-env for local development. The readme.txt file is removed in favor of readme.md as the primary readme, with the format updated to match the webmention plugin style.
- Replaces Grunt with @wordpress/env for local development and testing
- Removes readme.txt and updates readme.md with improved formatting and structure
- Updates "Tested up to" to WordPress 6.9 and adds PHP 8.5 to test matrix
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| readme.txt | Removed entirely; readme.md is now the primary readme file |
| readme.md | Updated format with cleaner structure, reorganized sections, and updated compatibility version |
| package.json | Removed Grunt dependencies, added @wordpress/env, and added npm scripts for wp-env commands |
| Gruntfile.js | Removed as part of Grunt elimination |
| .wp-env.json | Added configuration for local WordPress environment with custom ports and test setup |
| .github/workflows/update-assets.yml | Updated to use readme.md and upgraded to actions/checkout@v4 |
| .github/workflows/phpunit.yml | Added PHP 8.5 and 8.4 to test matrix, upgraded to actions/checkout@v4, added SVN installation |
| .github/workflows/deploy.yml | Updated to use readme.md and upgraded to actions/checkout@v4 |
| .distignore | Reorganized to include package-lock.json and remove readme.md from ignore list |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
dshanske
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
Summary
Testing