Add GitHub Actions CI workflow - #15
Open
ricardozanini wants to merge 1 commit into
Open
Conversation
- Build and test site on every PR and push to main - Verify dist directory is generated correctly - Upload build artifacts for review - Use Node.js 22 with npm caching for faster builds Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
✅ Deploy Preview for openworkflow ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Adds a new GitHub Actions workflow intended to validate site changes automatically in CI for PRs and pushes to main, complementing existing external checks (DCO/Netlify).
Changes:
- Introduces a CI workflow that installs dependencies and builds the Astro site on
pull_requestandpushevents targetingmain. - Verifies that the
dist/directory is produced and uploads it as an artifact with 7-day retention.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Adds a GitHub Actions CI workflow to automatically build and test the site on every PR and push to main.
What's Added
.github/workflows/ci.ymldist/directoryBenefits
Current Checks
The site already has these external checks running:
This workflow adds build validation to complement those checks.