-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
50 lines (46 loc) · 1.31 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
name: 'Background Run & Test'
description:
'Spin up a background server, and conditionally wait for it to be available
before running your tests'
author: 'Mohamed Raslan'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'server'
color: 'green'
# Define your inputs here.
inputs:
command:
description: 'Main command to run'
required: true
command-windows:
description: 'Main command to run on Windows'
required: false
command-if:
description:
'Conditionally run commands of the "command" or "command-window" option'
required: false
start:
description: 'Command for starting local server in the background'
required: false
start-windows:
description: 'A different start command on Windows'
required: false
start-if:
description:
'Conditionally run commands of the "start" or "start-window" option'
required: false
wait-on:
description: 'Local server URL to wait for'
required: false
wait-on-timeout:
description: 'Amount of time to wait for wait-on url to be available'
required: false
wait-if:
description: 'Conditionally wait on the resources if true'
required: false
cwd:
description: 'Current working directory'
required: false
runs:
using: node20
main: dist/index.js