Skip to content

chore: added GitHub Actions CI/CD workflows - #5

Merged
alecocosette merged 4 commits into
mainfrom
chore/github-actions-cicd
Feb 28, 2026
Merged

chore: added GitHub Actions CI/CD workflows#5
alecocosette merged 4 commits into
mainfrom
chore/github-actions-cicd

Conversation

@sebastian-noel

Copy link
Copy Markdown
Member

Pull Request

Description

Add GitHub Actions CI/CD workflows to automate testing and verification. The CI workflow runs linting and builds on all PRs, while the Docker workflow ensures the production image builds successfully.

Type of Change

  • feat: New feature
  • fix: Bug fix
  • chore: Maintenance (dependencies, config, etc.)
  • docs: Documentation only
  • style: Code style (formatting, no logic change)
  • refactor: Code refactor (no new feature or fix)

Changes Made

  • Added ci.yml - runs ESLint and build verification on all PRs and pushes to main
  • Added docker.yml -
  • Updated README.md with CI/CD workflow documentation and link to Actions tab
  • Both workflows include concurrency controls to cancel redundant runs and save CI minutes

Screenshots (if applicable)

N/A

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have tested my changes locally
  • npm run lint passes without errors
  • npm run build completes successfully

Related Issues

N/A

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds GitHub Actions automation to standardize CI checks on PRs/pushes and to verify that the production Docker image still builds when relevant files change.

Changes:

  • Added a CI workflow to run npm run lint and npm run build on PRs and pushes to main.
  • Added a Docker build workflow to validate the Docker image build on PRs/pushes when app/Docker-related paths change.
  • Updated README to document the new CI/CD workflows and link to the Actions page.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
README.md Documents the new CI/CD workflows and updates contribution/infra notes.
Dockerfile Minor comment update (removes hard-coded image size claim).
.github/workflows/ci.yml New CI workflow running lint + build on PRs/pushes to main.
.github/workflows/docker.yml New workflow that builds the Docker image on PRs/pushes with path filters + concurrency.
Comments suppressed due to low confidence (1)

README.md:175

  • The Markdown table has a formatting issue: the separator row’s third column includes an extra trailing space before the closing pipe (|---------------------------- |), and the rows appear to rely on padded spacing. Cleaning up the table pipes/dashes will make it render consistently across Markdown viewers.
| Workflow        | Trigger                                       | What it does                |
|-----------------|-----------------------------------------------|---------------------------- |
| **CI**          | PRs and pushes to `main`                      | Runs lint and build         |
| **Docker Build**| PRs/pushes affecting app code or Docker files | Verifies Docker image builds|

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +8 to +34
on:
push:
branches: [main]
paths:
- "Dockerfile"
- "docker-compose.yml"
- ".dockerignore"
- "package.json"
- "package-lock.json"
- "next.config.ts"
- "app/**"
- "components/**"
- "public/**"
- "styles/**"
pull_request:
branches: [main]
paths:
- "Dockerfile"
- "docker-compose.yml"
- ".dockerignore"
- "package.json"
- "package-lock.json"
- "next.config.ts"
- "app/**"
- "components/**"
- "public/**"
- "styles/**"

Copilot AI Feb 28, 2026

Copy link

Choose a reason for hiding this comment

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

Because this workflow uses paths filters, changes to the workflow file itself won’t trigger a run on PRs/pushes. Add .github/workflows/docker.yml (and any other relevant workflow/config paths) to the paths list so updates to the workflow get validated before merge.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

Copilot AI commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

@sebastian-noel I've opened a new pull request, #6, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits February 28, 2026 02:33
Co-authored-by: sebastian-noel <179660949+sebastian-noel@users.noreply.github.com>
Add workflow self-path to docker.yml paths filter

@alecocosette alecocosette left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

added docker and github actions for approval before a pr, looks good

@alecocosette
alecocosette merged commit 5a46c7b into main Feb 28, 2026
2 checks passed
@alecocosette
alecocosette deleted the chore/github-actions-cicd branch February 28, 2026 02:39
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.

4 participants