Skip to content

Prepared for Github

Prepared for Github #1

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: frontend/package-lock.json
# Type-checks the TypeScript and produces frontend/dist so the
# //go:embed directive in main.go resolves with real contents.
- name: Build frontend
working-directory: frontend
run: |
npm ci
npm run build
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...