File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - name : Setup .NET
2121 uses : actions/setup-dotnet@v4
2222 with :
23- dotnet-version : 10 .0.x
23+ dotnet-version : 8 .0.x
2424 - name : Restore dependencies
2525 run : dotnet restore src/CSharp/Rsk.AuthZen.sln
2626 - name : Build
Original file line number Diff line number Diff line change 1+ # This workflow will build and test the TypeScript library
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+ name : TypeScript
5+
6+ on :
7+ workflow_dispatch : # Manual trigger
8+ push :
9+ branches : [ "main" ]
10+ pull_request :
11+ branches : [ "main" ]
12+
13+ jobs :
14+ build :
15+
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 20'
24+ cache : ' npm'
25+ cache-dependency-path : src/Typescript/package-lock.json
26+ - name : Install dependencies
27+ run : npm ci
28+ working-directory : src/Typescript
29+ - name : Build
30+ run : npm run build
31+ working-directory : src/Typescript
32+ - name : Test
33+ run : npm test
34+ working-directory : src/Typescript
You can’t perform that action at this time.
0 commit comments