diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml new file mode 100644 index 0000000..ec95a91 --- /dev/null +++ b/.github/workflows/backend.yml @@ -0,0 +1,32 @@ +name: Backend CI + +on: + pull_request: + paths: + - 'backend/**' + +jobs: + backend-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install backend dependencies + run: npm install + working-directory: backend + + - name: Start backend briefly + run: | + node backend/server.js & + sleep 5 + kill $! || true + + - name: Run security audit + run: npm audit || true \ No newline at end of file diff --git a/backend/data/brocode.sqlite b/backend/data/brocode.sqlite new file mode 100644 index 0000000..e73d825 Binary files /dev/null and b/backend/data/brocode.sqlite differ diff --git a/backend/data/brocode.sqlite-shm b/backend/data/brocode.sqlite-shm new file mode 100644 index 0000000..b8b8dfc Binary files /dev/null and b/backend/data/brocode.sqlite-shm differ diff --git a/backend/data/brocode.sqlite-wal b/backend/data/brocode.sqlite-wal new file mode 100644 index 0000000..a841818 Binary files /dev/null and b/backend/data/brocode.sqlite-wal differ