Files
ENI-cicd-tp/.github/workflows/main.yml
Johan LEROY 5e2bacdafe Update Node.js version and add linting step
Updated Node.js version and added linting step.
2025-12-08 14:16:33 +01:00

30 lines
463 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: 22
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Lint code
run: npm run lint