neofinancial/MongoDB Memory Server Action

Support db-seed testing via an in-memory storage MongoDB instance

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Oct 1, 2025
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: neofinancial/mongo-memory-server-action@becdb087622c94b8d7003333312f6347713a0f9e # v1.2.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
db-connection-env-varThe 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. yes
run-commandThe command that initiates your MongoDB-dependent process.yes
instance-dbNameThe DB Name (defaults to a random name).no
instance-portThe DB Port (defaults to '27017').no
instance-storageEngineThe name of the storage engine to apply (defaults to 'ephemeralForTest'), with the alternate value 'wiredTiger'. no
binary-versionThe version of MongoDB to install (defaults to 4.0.25).no
mongoms-debugEnables a Debug mode for the in-memory storage MongoDB instance (any value supplied will be taken as 'true'). no
max-pool-sizeSets the max pool size for mongo no

no outputs