David Gamero 6522dcd602
release: prepare v5.1.0 (#249)
* release: prepare v5.1.0 — ESM migration with esbuild/vitest

* sync package-lock.json version to 5.1.0

* add version sync check to pre-commit hook

* regenerate package-lock.json for npm ci compatibility
2026-04-15 09:59:13 +12:00

23 lines
524 B
YAML

name: 'Run unit tests.'
on: # rebuild any PRs and main branch changes
pull_request:
branches:
- main
- 'releases/*'
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci works properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Build and run L0 tests.
run: |
npm install
npm run build
npm test