This commit is contained in:
1 parent
bfb8275b2f
commit
9ce07c860b
5 files changed
+94
-10
No files matched your search
@@ -0,0 +1,34 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
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 deps
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Static syntax checks
|
||||
run: |
|
||||
node --check src/server.js
|
||||
node --check src/mcp-server.js
|
||||
node --check src/layout.js
|
||||
node --check src/compile.js
|
||||
node --check frontend/app.js
|
||||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
Reference in new issue
Block a user