anglais/.forgejo/workflows/test.yaml
2025-09-16 20:08:20 +02:00

25 lines
576 B
YAML

on: [ push ]
jobs:
test:
runs-on: docker
container:
image: node:lts
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Build CLI
working-directory: ./cli
run: go build
- name: Build WASM
working-directory: ./wasm
run: GOOS=js GOARCH=wasm go build
- name: Test Core
working-directory: ./core
run: go test
- name: Run Unit Tests
run: bash unit_tests.sh