Files
ENI-cicd-tp/.github/workflows/main.yml
Johan LEROY b99c7e4cf3 Add GitHub Actions CI configuration
Set up CI workflow for testing and linting
2025-12-08 14:14:33 +01:00

27 lines
412 B
YAML

name: CI
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