Repository navigation
Update CI/CD actions and add non-blocking format check - #13
Merged
Merged
Conversation
- Bump actions/checkout and actions/setup-node to v7, and github-pages-deploy-action to v4.9.0. - Run CI on pull_request too, so PRs from forks get checked. - Add a Prettier check before the build. It warns on failure and does not fail the job; the prebuild step rewrites formatting, so CI never surfaced it before. - Add a concurrency group to CD so overlapping deploys queue instead of racing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Branch PRs ran CI twice, once per event. The pull_request run covers every PR, including forks, and tests the merge with main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
actions/checkoutandactions/setup-nodefrom v6 to v7, andJamesIves/github-pages-deploy-actionfrom v4.8.0 to v4.9.0. The v7.0.0 release notes list an ESM migration and a block on fork checkouts underpull_request_target. Neither workflow uses that trigger.pull_requestfor every PR, including PRs from forks, and onpushonly formain. This avoids running CI twice for each push to a PR branch. Apull_requestrun builds the PR merged intomain. Past branches opened PRs within minutes of their first push, so dropping branch-push runs loses little. Use a draft PR to get CI on unfinished work.prebuildrunsprettier --write, which hid formatting problems from CI.concurrency: deploygroup to CD so back-to-back merges deploy in order instead of overlapping.Testing
npx prettier --check .passes locally on this branch.pull_requestrun and nopushrun.main, so they get their first real run after merge.🤖 Generated with Claude Code