Add CI workflow for build and test processes

This commit is contained in:
Michael authored and GitHub committed 2026-01-22 00:00:21 +01:00
1 parent 082e77b911
commit f26f3ad1b1
1 file changed
+28
+28
View File
@@ -0,0 +1,28 @@
name: CI
on:
pull_request:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build --if-present
- name: Test
run: npm test --if-present