Skip to content

CodeQL

CodeQL #282

name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '23 17 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- uses: actions/setup-node@v3
with:
node-version: 12
- run: yarn install
- run: yarn build
env:
NODE_ENV: production
- run: npx flareact build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2