Set up CI with ESLint linter and Mocha test runner (#661)

This commit is contained in:
Thomas Durieux authored and GitHub committed 2026-04-15 04:34:03 +02:00
1 parent 812f8b6314
commit f3641c8ce3
14 files changed
+1991 -38

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm test