Merge pull request #4 from INFTF/add-ci-build

Add github workflow to run `npm run build` and prevent merging invalid code
This commit is contained in:
Ekiserrepé
2026-04-10 08:12:55 +02:00
committed by GitHub

25
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build