CI: add npm build workflow; fix shop field mismatch (server sends 'value', client used nonexistent 'buy_price') and strict-mode TS errors
All checks were successful
build / build-test (push) Successful in 34s

This commit is contained in:
Jan-Peter von Hunnius 2026-09-01 06:25:03 +02:00
parent 5142f18b1b
commit 7078e5dc54
2 changed files with 27 additions and 7 deletions

View file

@ -0,0 +1,20 @@
name: build
on: [push, workflow_dispatch]
jobs:
build-test:
runs-on: docker
container: node:20-bookworm
timeout-minutes: 15
steps:
- name: Checkout
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
- name: Install
run: npm ci || npm install
- name: Build
run: npm run build
- name: Test
run: npm test --if-present