Merge pull request #460 from aravindvnair99/dependabot/npm_and_yarn/f… #1389
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: | |
pull_request: | |
schedule: | |
- cron: '20 17 * * 1' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'javascript' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Use Node.js 14 | |
uses: actions/setup-node@main | |
with: | |
node-version: v14.x | |
- name: Install Dependencies | |
run: | | |
cd functions/ | |
sudo npm i -g npm | |
npm ci | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@main | |
with: | |
languages: ${{ matrix.language }} | |
queries: security-and-quality | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@main | |
with: | |
category: "/language:${{matrix.language}}" |