Skip to content

Merge branch 'main' of https://github.com/mohammadsiddiqui/masc #4

Merge branch 'main' of https://github.com/mohammadsiddiqui/masc

Merge branch 'main' of https://github.com/mohammadsiddiqui/masc #4

name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["typescript"]
node-version: [18.x]
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v3
- name: "🔧 setup node"
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: "🔧 install pnpm@latest"
run: npm i -g pnpm
- name: "📦 install dependencies"
run: pnpm install
- name: Setup CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform Analysis
uses: github/codeql-action/analyze@v2