Merge pull request #630 from dzcode-io/chore/prune-dictionary #672
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: "21 0 * * 3" | |
jobs: | |
build: | |
uses: ./.github/workflows/ci.reusable.build.yml | |
with: | |
node-version: "20" | |
os: "ubuntu-latest" | |
analyze: | |
needs: build | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
# Learn more about CodeQL language support at https://git.io/codeql-language-support | |
language: ["typescript"] | |
node-version: [20.x] | |
steps: | |
- name: "Git" | |
uses: actions/checkout@v4 | |
- name: "Nodejs" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- run: npm ci | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: build output (ubuntu-latest, 20) | |
- name: "CodeQL setup for ${{ matrix.language }}" | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: "CodeQL Analysis" | |
uses: github/codeql-action/analyze@v3 |