-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,20 +25,6 @@ jobs: | |
node-version: [ '18.x' ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-version }} | ||
- name: Install Nuget dependencies | ||
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet restore $_} | ||
|
||
- name: Build .Net | ||
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet build $_ --configuration Release --no-restore; if ($LASTEXITCODE -ne 0 ) {throw "Build for $_ FAILED"; }} | ||
|
||
- name: Test .Net | ||
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet test $_ --configuration Release --no-restore --verbosity normal --collect:"XPlat Code Coverage"} | ||
|
||
|
||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
|
@@ -49,10 +35,23 @@ jobs: | |
|
||
- name: Build JavaScript | ||
run: npx lerna run build | ||
|
||
- name: Test JavaScript | ||
run: npx lerna run test | ||
|
||
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-version }} | ||
- name: Install Nuget dependencies | ||
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet restore $_} | ||
|
||
- name: Build .Net | ||
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet build $_ --configuration Release --no-restore; if ($LASTEXITCODE -ne 0 ) {throw "Build for $_ FAILED"; }} | ||
|
||
- name: Test .Net | ||
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet test $_ --configuration Release --no-restore --verbosity normal --collect:"XPlat Code Coverage"} | ||
|
||
- name: Codecov | ||
uses: codecov/[email protected] | ||
|
||
|