Skip to content

Merge pull request #698 from solarwinds/dependabot/github_actions/act… #1206

Merge pull request #698 from solarwinds/dependabot/github_actions/act…

Merge pull request #698 from solarwinds/dependabot/github_actions/act… #1206

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 0 * * 1"
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language:
- javascript-typescript
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 22
package-manager-cache: false
- run: corepack enable
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql.yml
languages: ${{ matrix.language }}
- uses: actions/cache@v4
with:
path: .yarn/cache
key: yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-
- run: yarn install --immutable
- run: yarn build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"