ci: add syntax checks

This commit is contained in:
CoderLambert
2026-09-14 02:41:10 +08:00
parent 4c5c94ca2f
commit 0e10ed0c19
+23
View File
@@ -0,0 +1,23 @@
name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Syntax checks
run: npm run check