Skip to content

Add GitHub Actions CI workflow - #15

Open
ricardozanini wants to merge 1 commit into
open-workflow-specification:mainfrom
ricardozanini:add-ci-workflow
Open

Add GitHub Actions CI workflow#15
ricardozanini wants to merge 1 commit into
open-workflow-specification:mainfrom
ricardozanini:add-ci-workflow

Conversation

@ricardozanini

@ricardozanini ricardozanini commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

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.yml

  • ✅ Builds the Astro site on every PR
  • ✅ Verifies the build succeeds and generates dist/ directory
  • ✅ Uses Node.js 22 with npm caching for faster builds
  • ✅ Uploads build artifacts for 7-day retention

Benefits

  1. Catch build failures early - PRs will show if changes break the build
  2. Faster feedback - No need to wait for Netlify to test builds
  3. Build artifacts - Reviewers can download and inspect built site
  4. Consistent environment - Same Node.js version as production

Current Checks

The site already has these external checks running:

  • DCO - Developer Certificate of Origin verification
  • Netlify - Deploy previews and header/redirect rules

This workflow adds build validation to complement those checks.

- 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>
Copilot AI lite review requested due to automatic review settings August 26, 2026 15:58
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for openworkflow ready!

Name Link
🔨 Latest commit 0503d8a
🔍 Latest deploy log https://app.netlify.com/projects/openworkflow/deploys/6a8f0d2c99b3720008b1917b
😎 Deploy Preview https://deploy-preview-15--openworkflow.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI 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.

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_request and push events targeting main.
  • 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.

Comment thread .github/workflows/ci.yml
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.

2 participants