架构: 添加GitHub Actions CI配置
Some checks are pending
CI / test (push) Waiting to run

This commit is contained in:
Architecture Designer 2026-03-10 10:02:02 +00:00
parent 1bee0619b4
commit 582f64eff2

18
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install
run: |
cd backend && npm install
- name: Test
run: cd backend && npm test