Files
gramps-web/.github/workflows/test.yml
David Straub 84ade5df00 Add optional TypeScript support (#981)
* Add optional TypeScript support

* Address comment
2026-03-08 17:28:17 +01:00

30 lines
563 B
YAML

name: Unit test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install
run: npm ci
- name: ESLint
run: npm run lint:eslint
- name: Prettier
run: npm run lint:prettier
- name: Build
run: npm run build
- name: Type check
run: npm run typecheck
- name: Unit tests
run: npm test