Skip to content

Quality criteria

Quality criteria #625

name: Continuous Integration
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
workflow_dispatch:
jobs:
build_backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore .NET dependencies
run: dotnet restore backend/Squirrel.All.sln
- name: Build .NET
run: dotnet build backend/Squirrel.All.sln --no-restore
build_frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install packages and build Angular
run: |
cd frontend
yarn install --frozen-lockfile
yarn build