Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 28 additions & 10 deletions .github/workflows/onPullRequest-TestDotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,35 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5


- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'package-lock.json'

- name: Install Dependencies
run: npm install
working-directory: ${{ github.workspace }}

- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.x'

- name: Restore dependencies
run: dotnet restore InfiniLore.Lucide.sln

- name: Build
run: dotnet build InfiniLore.Lucide.sln --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:IsPackable=false

dotnet-version: |
9.x
10.x

- name: Export node_modules path
run: |
echo "NODE_PATH=${{ github.workspace }}/node_modules" >> $GITHUB_ENV
export NODE_PATH=${{ github.workspace }}/node_modules

- name: Restore NuGet packages
run: dotnet restore InfiniLore.IconLibs.slnx

- name: Build projects
run: dotnet build --configuration Release --no-restore

- name: Run tests
run: dotnet test InfiniLore.Lucide.sln --configuration Release --no-restore --no-build
run: dotnet test --solution InfiniLore.IconLibs.slnx --configuration Release --no-restore --no-build
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
<PackageVersion Include="Serilog.Extensions.Logging" Version="9.0.2" />
<PackageVersion Include="Serilog.Sinks.Console" Version="6.1.1" />
<PackageVersion Include="System.Text.Json" Version="10.0.0" />
<PackageVersion Include="TUnit" Version="1.1.10" />
<PackageVersion Include="TUnit" Version="1.2.3" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions InfiniLore.IconLibs.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Project Path="src/DevTools.InfiniLore.Lucide/DevTools.InfiniLore.Lucide.csproj" />
</Folder>
<Folder Name="/.dev-tools/github/">
<File Path=".github/workflows/onPullRequest-TestDotnet.yml" />
<File Path=".github/workflows/release.yml" />
</Folder>
<Folder Name="/.dev-tools/lucide/">
Expand Down