Pushes to main and pull requests run .github/workflows/theme-ci.yml:
- WordPress Theme Check against the packaged theme in a WordPress environment.
- Packaging sanity checks via
bash pack.sh, including required files and no dev-file leakage.
Both checks must pass before merging.
- Run Theme Check in a local WordPress install with this theme active (CI runs the same check on pushes to
mainand pull requests). - Import Theme Unit Test content and smoke-test:
- Home, single, page, category, tag, search, 404
- Comments (confirm a single comment form on singles)
- Sticky posts, featured images
- Category/archive pages show the site footer (copyright)
- Site Editor → Styles → Dark variation
- Keyboard focus and skip link
- Build the zip (CI runs the same command with the same sanity checks):
bash pack.shpack.shconfirmsdist/reactpress-blog.ziphasreactpress-blog/as its root and containsstyle.css,theme.json,templates/index.html,readme.txt,screenshot.png, andinc/. It also fails if CI/docs/dev files leak into the archive.
- Log in to WordPress.org.
- Open https://wordpress.org/themes/upload/
- Upload
dist/reactpress-blog.zip. - Reply on the review ticket: https://themes.trac.wordpress.org/ticket/298039
- Do not include
.git,.github/,pack.sh, CI/dev configs, or repo docs (README.md,SUBMIT.md) in the zip. - Theme slug / text domain must remain
reactpress-blog. - Pack script:
pack.shat the repository root (excluded from the package).