Update dependency @types/react to v18.2.60 #459
Workflow file for this run
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: | |
branches: | |
- master | |
paths: | |
- '**.ts' | |
- '**.tsx' | |
- '**.js' | |
- '**.cjs' | |
- '**.json' | |
- '.github/workflows/codeql.yml' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**.ts' | |
- '**.tsx' | |
- '**.js' | |
- '**.cjs' | |
- '**.json' | |
- '.github/workflows/codeql.yml' | |
schedule: | |
- cron: '29 14 * * 4' | |
env: | |
PREVIOUS_NODE_VERSION: ${{ vars.PREVIOUS_NODE_VERSION || 'lts/*' }} | |
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
timeout-minutes: 360 | |
permissions: | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
- javascript-typescript | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
query: security-and-quality | |
- name: Setup Node.js environment ${{ env.CURRENT_NODE_VERSION }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.CURRENT_NODE_VERSION }} | |
cache: 'npm' | |
cache-dependency-path: | | |
framework/package-lock.json | |
website/package-lock.json | |
package-lock.json | |
- name: Build root | |
run: npm ci | |
- name: Build website | |
run: cd website && npm ci | |
- name: Build framework | |
run: cd framework && npm ci | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |