We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 741f0b9 + 000250f commit 02043b6Copy full SHA for 02043b6
4 files changed
.github/workflows/backend.yml
@@ -0,0 +1,32 @@
1
+name: Backend CI
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - 'backend/**'
7
8
+jobs:
9
+ backend-check:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 20
20
21
+ - name: Install backend dependencies
22
+ run: npm install
23
+ working-directory: backend
24
25
+ - name: Start backend briefly
26
+ run: |
27
+ node backend/server.js &
28
+ sleep 5
29
+ kill $! || true
30
31
+ - name: Run security audit
32
+ run: npm audit || true
backend/data/brocode.sqlite
4 KB
backend/data/brocode.sqlite-shm
32 KB
backend/data/brocode.sqlite-wal
161 KB
0 commit comments