ci: add GitHub Actions workflow running test, build, and package verify

This commit is contained in:
C3H3-AI 2026-08-23 07:13:05 +08:00
parent 0241a32ec5
commit 65b9cdbe3d

28
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: CI
on:
push:
branches:
- main
- 'feishu-*'
pull_request:
jobs:
check:
name: Test, build, and verify package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run checks
run: npm run check