Skip to content

Refresh site from static-tool-page-template#65

Merged
plx merged 3 commits into
mainfrom
plx/create-pr
May 23, 2026
Merged

Refresh site from static-tool-page-template#65
plx merged 3 commits into
mainfrom
plx/create-pr

Conversation

@plx

@plx plx commented May 19, 2026

Copy link
Copy Markdown
Owner

Description

Regenerates the Astro/Starlight site from the static-tool-page-template scaffold: extracts landing/docs content into src/site.config.mjs, replaces the legacy component CSS bundle with a unified theme.css + reworked landing.css, swaps Markdown guides for MDX, and renames the logo asset. Splits the previous deploy-site.yml into site-check.yml (PR validation: prettier, cspell, astro check, build, and Playwright + axe-core a11y tests across mobile/tablet/desktop) and site-publish.yml (main-only GitHub Pages deploy). Adds Playwright/axe-core tests, cspell config, prettier config, and a justfile wrapping the common npm scripts.

Type of Change

  • Documentation update
  • CI/CD improvements
  • Test improvements
  • Code refactoring

Testing

  • All existing tests pass locally (cargo test, cargo fmt --check, cargo clippy)
  • New Playwright suite runs via npm run test / just test (requires just install-browsers once)
  • Site builds clean with npm run build

🤖 Generated with Claude Code

Regenerates the site using the static-tool-page-template scaffold:
extracts page content into site.config.mjs, swaps the legacy component
CSS for a unified theme/landing stylesheet, converts guide pages to
MDX, and replaces deploy-site.yml with split site-check (PR
validation: prettier, cspell, astro check, build, Playwright a11y
suite across mobile/tablet/desktop) and site-publish (main-only Pages
deploy) workflows. Adds Playwright/axe-core tests, cspell config,
prettier config, and a justfile front-end for the common npm scripts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b291648663

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +39 to +40
- name: Build
run: npm run build

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Gate publishing on the validation workflow

On a push to main, this workflow deploys after only npm run build, while the new site-check.yml validation workflow runs independently and is not a prerequisite. That means changes that build but fail npm run check, spellcheck, formatting, or the Playwright link/accessibility tests can still be uploaded to GitHub Pages before/while the check workflow fails. Please either run the validation steps here before upload or make publishing depend on the completed check workflow.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — fixed in 1fcc959 by inlining the validation steps (format:check, spellcheck, astro check, Playwright + axe-core tests) before upload-pages-artifact, so a failed check now blocks the deploy. Also mirrored the fix to the template repo (plx/static-tool-page-template#4) with a regression test, so future generated sites inherit the gating.

🤖 Posted by Claude Code

plx and others added 2 commits May 20, 2026 05:44
The site deployment workflow was split into site-check.yml (PR validation)
and site-publish.yml (build/deploy) but the navigation guide still
referenced the old deploy-site.yml name, causing the Navigation Guide CI
check to fail and block dependent jobs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Run format:check, spellcheck, astro check, and Playwright tests before
uploading the GitHub Pages artifact so a failed validation cannot ship.
Previously the publish workflow only ran `npm run build`, while
site-check.yml's validation ran independently and was not a prerequisite.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@plx plx merged commit b9e5763 into main May 23, 2026
24 of 25 checks passed
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