Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

CodeQL

CodeQL #93

Workflow file for this run

name: 'CodeQL'
on:
push:
branches: [main]
paths: ['**.js', '**.jsx', '**.ts', '**.tsx']
pull_request:
branches: [main]
schedule:
- cron: '0 0/12 * * *'
permissions: write-all
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node and restore cached dependencies
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
- name: Install packages
run: pnpm install --frozen-lockfile
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2