forked from snapshift/action-check-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
45 lines (45 loc) · 1.68 KB
/
Copy pathaction.yml
File metadata and controls
45 lines (45 loc) · 1.68 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
44
45
name: 'Action Check Typescript errors'
description: 'Check tsc errors and compare errors wih base branch'
author: 'ChefJackson'
icon: box
inputs:
repo-token:
description: 'Token for the repository. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
required: true
list-all-errors:
description: 'List all error details'
default: true
directory:
description: "Directory where to run install and build. Default is '.'"
default: '.'
files-changed:
description: "List of files changed in the current PR (separated by space), use action 'futuratrepadeira/changed-files' for that"
default: ''
files-added:
description: "List of files added in the current PR (separated by space), use action 'futuratrepadeira/changed-files' for that"
default: ''
files-deleted:
description: "List of files deleted in the current PR (separated by space), use action 'futuratrepadeira/changed-files' for that"
default: ''
line-numbers:
description: "List of files with added and removed lines, use action 'Equip-Collaboration/diff-line-numbers' for that"
ts-config-path:
description: "Path of tsconfig file. default is './tsconfig.json'"
default: './tsconfig.json'
use-check:
description: 'Report status as a CI Check'
check-fail-mode:
description: 'Allowed values : added, errors_in_pr, errors_in_code'
required: true
output-behaviour:
description: 'Allowed values : comment, annotate, both'
default: 'comment'
comment-behaviour:
description: 'Allowed values : new, edit'
default: 'new'
debug:
description: 'Set true to log ts errors in base branch and pr branch'
default: false
runs:
using: 'node16'
main: 'dist/index.js'