Skip to content

CodeQL Backend

CodeQL Backend #59

name: "CodeQL Backend"
on:
push:
branches: ["main", "master"]
paths:
- "apps/backend/**"
pull_request:
branches: ["main", "master"]
paths:
- "apps/backend/**"
schedule:
- cron: "0 0 * * 0"
jobs:
analyze-backend:
name: Analyze Backend
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: typescript
- name: Build backend
run: |
cd apps/backend
npm install
npm run build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2