forked from HolyNoodle/monorepo-coverage-diff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
43 lines (41 loc) · 1.04 KB
/
action.yml
File metadata and controls
43 lines (41 loc) · 1.04 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
name: 'Monorepo coverage diff'
description: 'Monorepo coverage diff github action'
author: 'HolyNoodle'
branding:
icon: 'check'
color: 'green'
# Define your inputs here.
inputs:
base:
description: 'Base branch to compare current branch to'
required: false
default: 'main'
basePath:
description: 'Base branch root directory'
required: false
default: '/tmp/base'
branchPath:
description: 'Target branch root directory'
required: false
default: '.'
group:
description: 'Group will help isolate actions comments'
required: false
default: ''
projects:
description: 'List of <project_name>:<project_root_dir>'
required: true
token:
description: 'Github token'
required: true
commands:
description: 'Script to run in both branch root to generate projects coverage-summary.json'
required: false
default: ''
diffOnly:
description: 'Only run diff. Will not pull base branch nor run commands'
required: false
default: false
runs:
using: node20
main: dist/index.js