Simplify documentation #364
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 GeoCop.sln | |
- name: Build dotnet | |
run: dotnet build GeoCop.sln -c Release --no-restore /warnaserror | |
- name: Test | |
run: dotnet test GeoCop.sln -c Release --no-build --verbosity normal | |
- name: Run frontend ci | |
working-directory: ./src/GeoCop.Frontend | |
run: npm ci | |
- name: Build frontend | |
working-directory: ./src/GeoCop.Frontend | |
run: npm run build --if-present | |
- name: Lint frontend | |
working-directory: ./src/GeoCop.Frontend | |
run: npm run lint |