-
-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (35 loc) · 922 Bytes
/
quality.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
name: quality
on:
push:
branches:
- main
paths-ignore:
- '*.md'
jobs:
quality:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: Clean Install
run: npm clean-install
- name: Collect and upload Code PushUp report
run: npx code-pushup autorun
env:
CP_API_KEY: ${{ secrets.CP_API_KEY }}
NODE_OPTIONS: --max-old-space-size=8192
- name: Save report files as workflow artifact
uses: actions/upload-artifact@v3
with:
name: code-pushup-report
path: .code-pushup/