Add GitHub Actions CI configuration

Set up CI workflow for testing and linting
This commit is contained in:
Johan LEROY
2025-12-08 14:14:33 +01:00
committed by GitHub
parent dc892fbd10
commit b99c7e4cf3

View File

@@ -1,3 +1,26 @@
npm ci name: CI
npm test
npm run lint on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test