From 28ca3aa5a2057e41b3949863eaf8ce23671fc2c5 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sat, 20 Jun 2026 12:58:34 +0530 Subject: [PATCH 1/3] Add CI workflow for building and pushing Docker image This workflow builds the DevBoard Frontend image and pushes it to Docker Hub after linting the code. --- .github/workflow/ci.yml | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflow/ci.yml diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml new file mode 100644 index 00000000..2aa31836 --- /dev/null +++ b/.github/workflow/ci.yml @@ -0,0 +1,43 @@ +# Goal: Build the image for DevBoard Frontend and Push to Docker Hub, after linting the code +name: CI + +on: + push: + branches: [master] + +jobs: + code-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v7 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "npm" # Automates dependency caching for faster builds + + - name: Install Dependencies + run: npm install + + - name: Run Lint (Biome) + run: npm run lint + + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v7 + + - name: Docker Setup [Login] + uses: docker/login-action@v4 + with: + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Docker Build and Push + uses: docker/build-push-action@v7 + with: + push: true + tags: ${{ vars.DOCKERHUB_USERNAME }}/devboard-fe-master:latest From 90b62ce63ed4c0ee3005d7497c65d8e934a20c66 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sat, 20 Jun 2026 13:02:38 +0530 Subject: [PATCH 2/3] Fix formatting in Docker tags for CI workflow --- .github/workflow/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml index 2aa31836..db9f3e66 100644 --- a/.github/workflow/ci.yml +++ b/.github/workflow/ci.yml @@ -40,4 +40,4 @@ jobs: uses: docker/build-push-action@v7 with: push: true - tags: ${{ vars.DOCKERHUB_USERNAME }}/devboard-fe-master:latest + tags: ${{ vars.DOCKERHUB_USERNAME }}/devboard-fe-master:latest From 9a6846757d64616ceaddd69b061fa3079cdec786 Mon Sep 17 00:00:00 2001 From: Rahil0276 Date: Sun, 21 Jun 2026 16:26:05 +0530 Subject: [PATCH 3/3] Fix formatting in README for architecture diagram --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0866544f..08a9e1f8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is the same DevBoard UI as the `master` branch, but now the data comes from a **real backend** instead of fake in-memory data. Three pieces talk to each other: - +# sa ``` browser → frontend (React) → backend (Go API) → database (Postgres) ```