forked from csstools/postcss-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 721 Bytes
/
codeql.yml
File metadata and controls
37 lines (29 loc) · 721 Bytes
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
name: "codeql"
on:
schedule:
- cron: '0 4 * * 1'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: setup node
uses: actions/setup-node@v2.5.1
with:
node-version: 16
cache: 'npm'
- run: npm ci --ignore-scripts
- run: npm run build --workspaces --if-present
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1