Skip to content

Commit 501f8e8

Browse files
authoredJan 18, 2024
feat: add React UI (#5)
* feat: add React UI - generate TypeScript client by kiota and dotnet swagger - migrate to .NET 8 - update Microsoft.Diagnostics.Runtime * feat: add heap segments grid * feat: update grid enable filtering & column customization set auto height * feat: migrate to react-admin template * fix: warnings * feat: setup dotnet tool - move all to single project - setup CI * CI: install node * CI: disable frontend warn as error
1 parent e6bd40c commit 501f8e8

File tree

156 files changed

+5403
-3186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+5403
-3186
lines changed
 

‎.config/dotnet-tools.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"microsoft.openapi.kiota": {
6+
"version": "1.10.1",
7+
"commands": [
8+
"kiota"
9+
]
10+
},
11+
"swashbuckle.aspnetcore.cli": {
12+
"version": "6.5.0",
13+
"commands": [
14+
"swagger"
15+
]
16+
}
17+
}
18+
}

‎.github/workflows/push-package.yml

+32-7
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,45 @@ name: Push NuGet package
22

33
on:
44
push:
5-
branches: [ master-disabled ]
5+
branches: [ master ]
6+
pull_request:
7+
# Sequence of patterns matched against refs/heads
8+
branches:
9+
- master
610

711
jobs:
812
build:
913
runs-on: ubuntu-latest
14+
env:
15+
# temp fix frontend build
16+
# Treating warnings as errors because process.env.CI = true.
17+
# Most CI servers set it automatically.
18+
CI: 'false'
1019
steps:
11-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v3
23+
with:
24+
global-json-file: global.json
25+
- uses: actions/setup-node@v4
26+
with:
27+
# Version Spec of the version to use in SemVer notation.
28+
# It also emits such aliases as lts, latest, nightly and canary builds
29+
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
30+
node-version: 20
1231
- name: Install dependencies
1332
run: dotnet restore
1433
- name: Build
15-
run: dotnet build --configuration Release --no-restore
16-
# - name: Test
17-
# run: dotnet test --no-restore --verbosity normal
18-
- name: Pack
19-
run: dotnet pack --configuration Release --no-build --version-suffix "rc.${GITHUB_RUN_NUMBER}+${GITHUB_SHA::8}"
34+
run: |
35+
echo "running on $GITHUB_REF_NAME"
36+
dotnet build --configuration Release --no-restore
37+
# - name: Test
38+
# run: dotnet test --configuration Release --no-build --verbosity normal
39+
- name: Pack release
40+
if: ${{ github.ref_name == 'master' }}
41+
run: dotnet pack --configuration Release --no-build
42+
- name: Pack RC
43+
if: ${{ github.ref_name != 'master' }}
44+
run: dotnet pack --configuration Release --no-build --version-suffix "rc.${GITHUB_RUN_NUMBER}"
2045
- name: Push
2146
run: dotnet nuget push ./src/Heartbeat/nupkg/*.nupkg -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)
Please sign in to comment.