Skip to content

feature/auto-package #65

feature/auto-package

feature/auto-package #65

Workflow file for this run

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)