Skip to content

Merge pull request #399 from COS301-SE-2024/feat/accentsBackground #457

Merge pull request #399 from COS301-SE-2024/feat/accentsBackground

Merge pull request #399 from COS301-SE-2024/feat/accentsBackground #457

Workflow file for this run

name: builder
on:
push:
branches:
- main
- develop
- feature/build-fix
- stablization
- feature/hotfix
pull_request:
jobs:
build:
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.11.1
- name: Install Dependencies
run: |
npm install
cd Frontend
npm install
cd ../Backend
npm install
working-directory: ./
- name: Build Angular App
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/feature/build-fix' || github.ref == 'refs/heads/stablization' || github.ref == 'refs/heads/feature/hotfix')
run: npm run build
working-directory: ./Frontend
- name: Build NestJS App
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/feature/build-fix' || github.ref == 'refs/heads/stablization' || github.ref == 'refs/heads/feature/hotfix')
run: npm run build
working-directory: ./Backend