ci: add disabled Gitea Actions CI/CD workflows
Add CI and CD workflows for backend, frontend and image publishing. The workflows are fully commented out because no Gitea Actions runner is attached; uncomment once a runner is registered.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# 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 backend/TarninaHub.csproj --verify-no-changes
|
||||
# # Tests: enabled once test projects are added (`dotnet test`).
|
||||
#
|
||||
# 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`).
|
||||
Reference in New Issue
Block a user