neofinancial/MongoDB Memory Server Action
Support db-seed testing via an in-memory storage MongoDB instance
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 1, 2025
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: neofinancial/mongo-memory-server-action@becdb087622c94b8d7003333312f6347713a0f9e # v1.2.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| db-connection-env-var | 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. | yes | — |
| run-command | The command that initiates your MongoDB-dependent process. | yes | — |
| instance-dbName | The DB Name (defaults to a random name). | no | — |
| instance-port | The DB Port (defaults to '27017'). | no | — |
| instance-storageEngine | The name of the storage engine to apply (defaults to 'ephemeralForTest'), with the alternate value 'wiredTiger'. | no | — |
| binary-version | The version of MongoDB to install (defaults to 4.0.25). | no | — |
| mongoms-debug | Enables a Debug mode for the in-memory storage MongoDB instance (any value supplied will be taken as 'true'). | no | — |
| max-pool-size | Sets the max pool size for mongo | no | — |
Outputs
no outputs