Skip to content

fix: custom geofence toggle not persisting (#163) #473

fix: custom geofence toggle not persisting (#163)

fix: custom geofence toggle not persisting (#163) #473

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
name: Backend (.NET)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET 10
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj', '**/*.slnx') }}
restore-keys: |
nuget-${{ runner.os }}-
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal --logger "trx;LogFileName=test-results.trx"
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: backend-test-results
path: '**/TestResults/*.trx'
retention-days: 30
frontend:
name: Frontend (Angular)
runs-on: ubuntu-latest
defaults:
run:
working-directory: Applications/Pgan.PoracleWebNet.App/ClientApp
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: Applications/Pgan.PoracleWebNet.App/ClientApp/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint (ESLint)
run: npm run lint
- name: Format check (Prettier)
run: npm run prettier-check
- name: Test (Jest)
run: npm test -- --ci
- name: Build (production)
run: npm run build