الملفات الأساسية #1

Open
Mohamed-Abdelhalim2 wants to merge 5 commits from develop into main
Showing only changes of commit 73d66b22db - Show all commits
+38
View File
@@ -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