generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
78 lines (63 loc) · 1.86 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
75
76
77
78
name: "Web Components Code Quality"
description:
"This action is designed to format and test Web Component repositories on pull
requests. It helps ensure that your code meets the required quality standards."
author: "Zebra Technologies"
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: compass
color: "blue"
# Define your inputs here.
inputs:
token:
description: "Token used for pushing fixes and commenting on PRs"
required: true
working-directory:
description: "The working directory"
required: false
default: "."
web-components-src:
description: "The path to the directory containing the web components source code"
required: false
default: "src/**/*.{ts,tsx}"
test-src:
description: "The path to the directory containing the test source code"
required: false
default: "src/test/**/*.test.ts"
test-results-path:
description: "The path to the test results file"
required: false
default: "./test-results.xml"
coverage-path:
description: "The path to the coverage file"
required: false
default: "coverage/lcov.info"
run-static-analysis:
description: "Whether to run static analysis"
required: false
default: "true"
run-code-formatting:
description: "Whether to run code formatting"
required: false
default: "true"
run-tests:
description: "Whether to run tests"
required: false
default: "true"
run-coverage:
description: "Whether to run coverage"
required: false
default: "true"
create-comment:
description: "Whether to create a comment on the PR"
required: false
default: "true"
coverage-pass-score:
description: "The minimum coverage score required to pass"
required: false
default: "80"
# Define your outputs here.
# outputs:
runs:
using: node20
main: dist/index.js