-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (36 loc) · 1.02 KB
/
Copy pathbuild.yml
File metadata and controls
47 lines (36 loc) · 1.02 KB
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
45
46
47
name: Build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-24.04
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
steps:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v5.3.0
with:
dotnet-version: 8.0.407
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.20.8
- uses: actions/checkout@v2
- name: Tool Restore
run: dotnet tool restore
- name: Format Check
run: dotnet fantomas . --check
- name: Paket Restore
run: dotnet paket restore
- name: Yarn Install
run: yarn install --immutable --immutable-cache --check-cache
- name: Build and Test
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
run: |
dotnet build -c Release
dotnet fable ./thoth-json-codec
dotnet fable ./thoth-json-codec-auto
dotnet run --project ./tests-system-text-json
(cd ./tests-javascript && yarn build && yarn test)