generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
74 lines (67 loc) · 2.03 KB
/
action.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Code PushUp
description: Quality metrics from Code PushUp
branding:
icon: activity
color: blue
inputs:
monorepo:
description: |
For repos containing multiple projects. Options are:
- `false`: single project mode (default)
- `true`: turns on monorepo mode (autodetects tool unless `projects` is specified)
- `nx`: Nx workspace
- `turbo`: Turborepo
- `npm`: NPM workspaces
- `yarn`: Yarn workspaces
- `pnpm`: PNPM workspaces
required: true
default: false
projects:
description: |
Project folders for custom monorepo setup.
Only used when `monorepo: true` is set and no known monorepo tool is detected.
Should be a comma-separated list of project folders (supports globs).
required: false
task:
description: |
Name of task for running Code PushUp CLI in monorepo mode. Defaults to `code-pushup`.
Dependending on what monorepo tool is being used, this task may represent a `package.json` script, binary executable, Nx target or Turbo task.
required: true
default: code-pushup
bin:
description: Custom code-pushup executable
required: true
default: npx --no-install code-pushup
config:
description: Custom code-pushup.config path
required: false
directory:
description: Custom working directory
required: false
silent:
description: Silence logs from Code Pushup CLI
required: true
default: false
token:
description: GITHUB_TOKEN or a repo scoped PAT
required: true
default: ${{ github.token }}
artifacts:
description: Upload/download artifacts for caching code-pushup reports
required: true
default: true
retention:
description: Artifact retention period in days
required: false
annotations:
description: Create file annotations in GitHub
required: true
default: true
outputs:
artifact-id:
description: ID of uploaded report artifact
comment-id:
description: ID of created or updated GitHub comment
runs:
using: node20
main: dist/index.js