chore(repo): implement CI w/ gitlab CI

This commit is contained in:
M. George Hansen 2025-08-20 09:15:43 +12:00
parent 35273f525d
commit 057fc31c59
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
5 changed files with 25 additions and 2 deletions

18
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,18 @@
stages: [build, test]
build:
stage: build
cache: &cached-deps
key:
files: [package-lock.json]
paths: [node_modules/]
script:
- npm ci
- npm run build --workspaces --if-present
test:
stage: test
cache:
<<: &cached-deps
script:
- npm run test --workspaces --if-present