generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
25 lines (25 loc) · 994 Bytes
/
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
name: 'Tests checker'
description: 'Requires writing the tests in Pull Requests'
author: 'Rafalko, Maksim <maks.rafalko@gmail.com>'
branding:
icon: 'check'
color: 'white'
inputs:
comment:
required: false
description: 'Comment to be used by action when PR does not have tests'
fileExtensions:
required: false
description: 'Comma-separated extensions of the source code folder files be checked. Example: ".php,.ts,.js"'
testDir:
required: false
description: 'Test directory to find tests in'
testPattern:
required: false
description: 'A shell glob pattern that should match test files. For example, you can set it to testPattern: *_test.go and Bot will be able to understand, that added test has this pattern instead of located in testDir. testDir and testPattern are alternatives, however can be used together.'
GITHUB_TOKEN:
required: true
description: 'GITHUB_TOKEN to work with GitHub API'
runs:
using: 'node16'
main: 'dist/index.js'