Skip to content

CodeQL CI

CodeQL CI #191

Workflow file for this run

name: CodeQL CI
on:
schedule:
- cron: '0 0 * * 1'
jobs:
release:
name: Build and analyze
runs-on: ubuntu-18.04
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 16
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
- name: Cache node modules
uses: actions/[email protected]
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1