Pull MinIO from the Gitea-mirrored pgsty image after upstream Hub/Quay removal.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# Generic single-product CI caller — copy into .gitea/workflows/ci.yml and rename paths.
|
||||
# Requires infra/ci-workflows@v1 (collaborative owners must include this repo's owner).
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- "src/**"
|
||||
- "web/**"
|
||||
- "MyApp.sln"
|
||||
- ".gitea/workflows/**"
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- "src/**"
|
||||
- "web/**"
|
||||
- "MyApp.sln"
|
||||
- ".gitea/workflows/**"
|
||||
|
||||
jobs:
|
||||
backend:
|
||||
uses: infra/ci-workflows/.gitea/workflows/dotnet8-ci.yml@v1
|
||||
with:
|
||||
working_directory: .
|
||||
solution: MyApp.sln
|
||||
postgres_db: myapp_test
|
||||
isolated_test_projects: |
|
||||
tests/MyApp.UnitTests/MyApp.UnitTests.csproj
|
||||
test_projects: |
|
||||
tests/MyApp.IntegrationTests/MyApp.IntegrationTests.csproj
|
||||
test_env: |
|
||||
Jwt__SigningKey=ci-test-jwt-secret-at-least-32-bytes-long!!
|
||||
|
||||
frontend:
|
||||
uses: infra/ci-workflows/.gitea/workflows/node-ci.yml@v1
|
||||
with:
|
||||
working_directory: web
|
||||
node_version: "22"
|
||||
lint_command: npm run lint && npm run typecheck
|
||||
extra_check_command: npm test
|
||||
build_command: npx vite build
|
||||
build_env: |
|
||||
VITE_API_BASE_URL=
|
||||
Reference in New Issue
Block a user