From 3889d4914e63e779be551fa244778403863dbe35 Mon Sep 17 00:00:00 2001 From: SaelixCode Date: Wed, 4 Mar 2026 13:06:29 -0500 Subject: [PATCH] chore: initialize git flow, ci pipeline, and changelog --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 10 ++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 CHANGELOG.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b70f4e1b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: Sencho CI + +on: + pull_request: + branches: [ main, develop ] + push: + branches: [ develop ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Install Backend Dependencies + working-directory: ./backend + run: npm ci + + - name: Build Backend (TypeScript) + working-directory: ./backend + run: npm run build + + - name: Install Frontend Dependencies + working-directory: ./frontend + run: npm ci + + - name: Build Frontend (Vite/React) + working-directory: ./frontend + run: npm run build diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..b9716e88 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +All notable changes to this project will be documented in this file. +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] +### Added +- Git Flow branching strategy and branch protection. +- GitHub Actions CI pipeline for automated TypeScript build verification.