Skip to content

Workflow file for this run

name: CodeQL Analysis
on: [push, pull_request]
branches:
- Staging
- Master
jobs:
analyze:
runs-on: ubuntu-latest
strategy:
matrix:
language: [javascript, typescript] -

Check failure on line 14 in .github/workflows/codeql-analysis.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeql-analysis.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up CodeQL
uses: github/codeql-action/setup@v1
with:
languages: ${{ matrix.language }}
- name: Build and analyze
run: |
npm install
npm run build
codeql database create -l ${{ matrix.language }} -s . -o mycode.db
codeql analyze -d mycode.db ${{ matrix.language }}
- name: Upload CodeQL Analysis
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: mycode.db/results.sarif