UPDATE: packages versions, remove duplicated dependencies #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
paths: | |
- '**.cs' | |
- '**.csproj' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout to the repository | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Run tests | |
run: | | |
dotnet test Src/Tests/Ws.Components.Tests/Ws.Components.Tests.csproj --no-restore --verbosity quiet --configuration ReleaseVS | |
dotnet test Src/Tests/Ws.Domain.Tests/Ws.Domain.Tests.csproj --no-restore --verbosity quiet --configuration ReleaseVS | |
dotnet test Src/Tests/Ws.Shared.Tests/Ws.Shared.Tests.csproj --no-restore --verbosity quiet --configuration ReleaseVS |