Skip to content

Merge pull request #9 from bddwithTim/dependabot/npm_and_yarn/eslint-… #24

Merge pull request #9 from bddwithTim/dependabot/npm_and_yarn/eslint-…

Merge pull request #9 from bddwithTim/dependabot/npm_and_yarn/eslint-… #24

name: "CodeQL Analysis"
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
schedule:
- cron: '0 1 * * 5' # Runs every Friday at 1 AM UTC
jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
matrix:
language: [ 'javascript' ] # You can add other languages like 'python', 'ruby', etc.
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Build project
run: |
# Add commands to build your project if necessary
# e.g. npm install, npm run build
npm install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3