actions: new cfg for dependabot #1536
Workflow file for this run
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: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: git checkout | |
run: git checkout | |
if: ${{ github.event_name == 'pull_request' }} | |
- name: initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript | |
- name: prepare node | |
uses: actions/[email protected] | |
with: | |
node-version: 22.10.0 | |
cache: npm | |
- name: install | |
run: npm ci | |
- name: perform CodeQL analysis | |
uses: github/codeql-action/analyze@v3 |