Skip to content

feat(architecture): Initial release of Production-ready Angular 21 SS… #6

feat(architecture): Initial release of Production-ready Angular 21 SS…

feat(architecture): Initial release of Production-ready Angular 21 SS… #6

Workflow file for this run

name: CI Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Tests (Headless)
run: npm run test -- --watch=false --browsers=ChromeHeadless
- name: Run Angular Build (Production + SSR)
run: npm run build:prod
- name: Verify Build Artifacts
run: |
if [ ! -d "dist/personal-website/browser" ]; then
echo "Build failed: Browser bundle missing"
exit 1
fi
if [ ! -d "dist/personal-website/server" ]; then
echo "Build failed: Server bundle missing"
exit 1
fi
echo "Build succeeded. Artifacts verified."