48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
# CI workflow — DISABLED.
|
|
# No Gitea Actions runner is attached to this repository yet, so the workflow
|
|
# below is fully commented out to avoid failing runs. Uncomment everything once
|
|
# a runner is registered (repository Settings -> Actions -> Runners).
|
|
|
|
# name: CI
|
|
#
|
|
# on:
|
|
# push:
|
|
# branches: [main]
|
|
# pull_request:
|
|
# branches: [main]
|
|
#
|
|
# jobs:
|
|
# backend:
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - uses: actions/checkout@v4
|
|
# - uses: actions/setup-dotnet@v4
|
|
# with:
|
|
# dotnet-version: "10.0.x"
|
|
# - name: Restore
|
|
# run: dotnet restore backend/TarninaHub.csproj
|
|
# - name: Build
|
|
# run: dotnet build backend/TarninaHub.csproj --configuration Release --no-restore
|
|
# - name: Format check
|
|
# run: dotnet format whitespace --verify-no-changes TarninaHub.slnx
|
|
# - name: Test
|
|
# run: dotnet test TarninaHub.slnx --configuration Release --no-build
|
|
#
|
|
# frontend:
|
|
# runs-on: ubuntu-latest
|
|
# defaults:
|
|
# run:
|
|
# working-directory: client
|
|
# steps:
|
|
# - uses: actions/checkout@v4
|
|
# - uses: actions/setup-node@v4
|
|
# with:
|
|
# node-version: "22"
|
|
# cache: npm
|
|
# cache-dependency-path: client/package-lock.json
|
|
# - name: Install
|
|
# run: npm ci
|
|
# - name: Build (typecheck + bundle)
|
|
# run: npm run build
|
|
# # Lint: enabled once ESLint is wired up (`npm run lint`).
|