-
Notifications
You must be signed in to change notification settings - Fork 23
54 lines (45 loc) · 1.02 KB
/
codeql.yml
File metadata and controls
54 lines (45 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: "CodeQL"
on:
push:
branches:
- react-rewrite
pull_request:
branches:
- react-rewrite
schedule:
- cron: '36 7 * * 0'
jobs:
Analyze:
name: Analyze
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
security-events: write
defaults:
run:
working-directory: react
steps:
- name: Checkout Repository
uses: actions/checkout@v5
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: 24
cache: "pnpm"
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install Dependencies
run: |
pnpm install --frozen-lockfile --ignore-scripts
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
upload: true