260323:1404 fix CI : Verify relaase : 🐋 Login to Internal Registry #06
This commit is contained in:
+6
-10
@@ -16,16 +16,17 @@ jobs:
|
|||||||
- name: 📥 Checkout
|
- name: 📥 Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 📦 Install pnpm
|
||||||
|
run: npm install -g pnpm@10.32.1
|
||||||
|
|
||||||
- name: 🟢 Setup Node
|
- name: 🟢 Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
cache: 'npm' # Note: cache: 'pnpm' requires additional setup action, using npm cache for basic caching or skipping, but we can just use simple setup
|
||||||
- name: 📦 Install pnpm
|
|
||||||
run: npm install -g pnpm
|
|
||||||
|
|
||||||
- name: 📦 Install deps
|
- name: 📦 Install deps
|
||||||
run: pnpm install
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: 🧹 Lint
|
- name: 🧹 Lint
|
||||||
run: pnpm lint
|
run: pnpm lint
|
||||||
@@ -43,16 +44,11 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: 🧪 Run Tests
|
- name: 🧪 Run Tests & Coverage
|
||||||
run: |
|
run: |
|
||||||
cd backend && pnpm test --watchAll=false
|
cd backend && pnpm test --watchAll=false
|
||||||
cd ../frontend && pnpm test run
|
cd ../frontend && pnpm test run
|
||||||
|
|
||||||
- name: 🏗️ Verify Build
|
|
||||||
run: |
|
|
||||||
cd backend && pnpm build
|
|
||||||
cd ../frontend && pnpm build
|
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# JOB 2 : Deploy — Trigger Blue-Green on QNAP
|
# JOB 2 : Deploy — Trigger Blue-Green on QNAP
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user