Skip to content

Fixed linter error #1246

Fixed linter error

Fixed linter error #1246

Workflow file for this run

name: HQ CI
on:
pull_request:
push:
branches:
- 'master'
- 'release-*'
jobs:
build-dotnet:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/dotnet/
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Format
run: dotnet format ./HQ.sln --verify-no-changes --verbosity diagnostic
- name: Build
run: dotnet build --no-restore -warnaserror
- name: Test
run: dotnet test --no-build --verbosity normal
build-angular-hq:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/angular/hq/
steps:
- uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: src/angular/hq/package-lock.json
- name: Restore dependencies
run: npm ci
- name: Prettier
run: npm run prettier -- . --check
- name: Lint
run: npm run lint
- name: Build
run: npm run build --if-present