Update README and package.json: add build and test badges to README for CI visibility, and specify pnpm as the package manager in package.json for consistency in dependency management.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
backend-tests:
|
||||
runs-on: ubuntu-latest
|
||||
container: mcr.microsoft.com/dotnet/sdk:10.0
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Restore
|
||||
working-directory: backend
|
||||
run: dotnet restore TeleWave.slnx
|
||||
- name: Test
|
||||
working-directory: backend
|
||||
run: >
|
||||
dotnet test TeleWave.slnx
|
||||
-c Release
|
||||
--no-restore
|
||||
--logger "console;verbosity=normal"
|
||||
Reference in New Issue
Block a user