Watch
1
0
Fork
You've already forked test-web
0
test-web/.forgejo/workflows/build.yml
Chris Dill 0be1a55ded
All checks were successful
Build / build (push) Successful in 43s
Add client
2026-06-20 16:22:38 +01:00

38 lines
756 B
YAML
Executable file

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up dotnet
uses: https://github.com/actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Build server
run: dotnet build -c Release
- name: Test server
run: dotnet test -c Release
- name: Build client
run: pnpm install && pnpm run build
working-directory: client