Skip to content

CodeQL

CodeQL #151

name: CodeQL
on:
pull_request:
branches:
- main
schedule:
- cron: '0 20 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3.6.0
- name: Setup Node
uses: actions/setup-node@v3.6.0
with:
node-version: '18.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
- name: Build project
run: |2
npm ci
npm run build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2