Merge branch 'main' into add-description #475
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Start db | |
run: docker-compose up -d db | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0' | |
- name: Install dependencies | |
run: dotnet restore Geopilot.sln | |
- name: Build dotnet | |
run: dotnet build Geopilot.sln -c Release --no-restore /warnaserror | |
- name: Test | |
run: dotnet test Geopilot.sln -c Release --no-build --verbosity normal | |
- name: Run frontend ci | |
working-directory: ./src/Geopilot.Frontend | |
run: npm ci | |
- name: Build frontend | |
working-directory: ./src/Geopilot.Frontend | |
run: npm run build --if-present | |
- name: Lint frontend | |
working-directory: ./src/Geopilot.Frontend | |
run: npm run lint |