-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
37 lines (37 loc) · 1.35 KB
/
action.yaml
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
name: MongoDB Memory Server Action
description: Support db-seed testing via an in-memory storage MongoDB instance
author: Neo Financial Engineering
inputs:
db-connection-env-var:
description: |
The name of an ENV variable your MongoDB-dependent process will use for the connection string.
This action will inject this ENV variable into the process space of your run-command, using the
instantiated MongoDB server's 'uri' property.
required: true
run-command:
description: The command that initiates your MongoDB-dependent process.
required: true
instance-dbName:
description: The DB Name (defaults to a random name).
required: false
instance-port:
description: The DB Port (defaults to '27017').
required: false
instance-storageEngine:
description: |
The name of the storage engine to apply (defaults to 'ephemeralForTest'), with the alternate value 'wiredTiger'.
required: false
binary-version:
description: The version of MongoDB to install (defaults to 4.0.25).
required: false
mongoms-debug:
description: |
Enables a Debug mode for the in-memory storage MongoDB instance (any value supplied will be taken as 'true').
required: false
max-pool-size:
description: |
Sets the max pool size for mongo
required: false
runs:
using: 'node16'
main: 'build/index.js'