source: Klonkt/.github/workflows/ci.yml@ 19b0727

main
Last change on this file since 19b0727 was 19b0727, checked in by roboburr <roboburr@…>, 3 months ago

ci: GitHub Actions — npm test + docker build op push/PR

Klaar voor de GitHub-migratie. Draait de node:test-suite (in-memory SQLite) en
bouwt het self-host Docker-image als rookcheck.

Co-Authored-By: Claude <noreply@…>

  • Property mode set to 100644
File size: 496 bytes
Line 
1name: CI
2
3on:
4 push:
5 branches: [ main ]
6 pull_request:
7
8jobs:
9 test:
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v4
13 - uses: actions/setup-node@v4
14 with:
15 node-version: 20
16 cache: npm
17 - run: npm ci
18 - run: npm test
19
20 docker-build:
21 runs-on: ubuntu-latest
22 steps:
23 - uses: actions/checkout@v4
24 # Bouwt het self-host image zodat een kapotte Dockerfile meteen opvalt.
25 - run: docker build -t klonkt:ci .
Note: See TracBrowser for help on using the repository browser.