Skip to content

v2.6.0

v2.6.0 #546

name: 'CodeQL'
on:
push:
branches: [main]
schedule:
- cron: '30 8 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Use node_modules cache
uses: actions/cache@v4
with:
path: node_modules
key: yarn-node-22-lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-node-22-lock-
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3