-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (34 loc) · 883 Bytes
/
dotnet.yml
File metadata and controls
38 lines (34 loc) · 883 Bytes
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
name: .NET
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: TiaCodegen-ts/package-lock.json
- name: Install TypeScript dependencies
run: npm ci
working-directory: TiaCodegen-ts
- name: Build TypeScript
run: npm run build
working-directory: TiaCodegen-ts
- name: Test TypeScript
run: npm test
working-directory: TiaCodegen-ts
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal