-
-
Notifications
You must be signed in to change notification settings - Fork 8
44 lines (34 loc) · 938 Bytes
/
dotnet-package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Dotnet Package
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [6, 7, 8]
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Node.js dependencies
run: npm install
working-directory: XtermBlazor/src
- name: Build Node.js project
run: npm run build
working-directory: XtermBlazor/src
- name: Restore .NET dependencies
run: dotnet restore XtermBlazor
- name: Build .NET project
run: dotnet build XtermBlazor --no-restore
# - name: Test
# run: dotnet test XtermBlazor --no-build --verbosity normal