Skip to content

Commit a95e85c

Browse files
committed
Updating actions
* Target .net 8 * Include TS build
1 parent 853c680 commit a95e85c

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
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

.github/workflows/typescript.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

0 commit comments

Comments
 (0)