From 11cbb4f8206bb5e42fbbd99a0cc777c61ce419ef Mon Sep 17 00:00:00 2001 From: Mohamed-Abdelhalim2 Date: Tue, 16 Jun 2026 22:49:18 +0000 Subject: [PATCH] =?UTF-8?q?=D9=85=D9=84=D9=81=20=D8=A2=D8=AE=D8=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mohamed-Abdelhalim2 --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6b7b061 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: SteganoPixel CI/CD Pipeline + +on: + push: + branches: [ main, develop ] + pull_request: + branches: [ main, develop ] + +jobs: + validate-and-build: + name: Lint, Type Check, and Build + runs-on: ubuntu-latest + + steps: + - name: 📥 Checkout Source Code + uses: actions/checkout@v4 + + - name: ⚙️ Setup Node.js Environment + uses: actions/setup-node@v4 + with: + node-version: '18.x' + cache: 'npm' + + - name: 📦 Install Dependencies + run: npm ci + + - name: 🔍 Run TypeScript Type Checking + run: npm run build --if-present + + - name: 🏗️ Verify Production Build + run: npm run build + + - name: 📤 Upload Build Artifacts + uses: actions/upload-artifact@v4 + with: + name: steganopixel-production-dist + path: dist/ + retention-days: 7