-
-
Notifications
You must be signed in to change notification settings - Fork 287
53 lines (42 loc) · 1.14 KB
/
scan.yml
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
name: Qodana Scan
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
qodana-scan:
if: false
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout 🛎
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Install Dependencies 👨🏻💻
uses: ./.github/actions/install-dependencies
- name: Setup Turbo cache 🏎️
id: turbo-cache
uses: actions/cache@v2
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ github.sha }}
restore-keys: |
turbo-${{ runner.os }}-
- name: Build Library 👷
run: pnpm run build --cache-dir=.turbo
- name: Qodana Scan 🔍
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}