Skip to content

Enhancement of the Profile Card. #67

Enhancement of the Profile Card.

Enhancement of the Profile Card. #67

Workflow file for this run

name: CI for Webiu Frontend
on:
push:
branches: [feature/webiu-2024]
pull_request:
branches: [feature/webiu-2024]
jobs:
build-and-deploy:
name: Build, Test, and Deploy Angular (webiu-ui)
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Angular CLI
run: npm install -g @angular/cli
- name: Install dependencies
run: |
cd webiu-ui
npm install
- name: Build Angular App
run: |
cd webiu-ui
ng build --output-path=../docs --base-href="/Webiu/"
- name: Run Angular Tests
env:
CHROME_BIN: google-chrome
run: |
cd webiu-ui
ng test --watch=false --browsers=ChromeHeadless --no-sandbox
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/feature/webiu-2024'
run: |
cd webiu-ui
ngh --dir=../docs