1.12.1 - 2025-11-11
- change Docker tag from
docker:stabletodocker:latest
1.12.0 - 2025-01-05
- added
mongodb-imageinput: this option allows you to define a custom Docker container image. It usesmongoby default, but you may specify an image from a different registry than Docker hub. Please check the Readme for details.
- bump dependencies
1.11.0 - 2024-05-22
- added
mongodb-container-nameinput: this option allows you to define the Docker container name
- use the
mongocommand to interact with MongoDB versions 4.x or lower. Previously, we only checked for MongoDB 4 and would usemongoshfor MongoDB 3 (and lower). Thanks to Aravind!
- bump dependencies
1.10.0 - 2023-08-07
- MongoDB single instance: wait for MongoDB to be ready
- bump dependencies
1.9.0 - 2023-02-10
- exit early in case of Docker issues (e.g., unavailable MongoDB version)
- validate GitHub Action typings using krzema12/github-actions-typing
- bump dependencies
1.8.0 - 2022-08-26
- support MongoDB 6.x. Thanks to Evandro aka ecarruda!
- use
mongofor MongoDB 4.x release line - use
mongoshfor MongoDB 5.x and 6.x release lines
- bump dependencies
- use
@supercharge/eslint-configinstead ofeslint-config-standard
1.7.0 - 2021-11-16
mongodb-usernameandmongodb-passwordinputs allowing you to configure the authentication credentials for a user created in theadmindatabase (with the role ofroot)mongodb-dbinput allowing you to create a database that is used for creation scripts
- bump dependencies
- use UVU and c8 for testing instead of @hapi/lab
1.6.0 - 2021-06-01
- show replica set status after
rs.initiate()
1.5.0 - 2021-05-31
- refined tests for custom ports
- refined custom port handling when using replica sets
- extended output for better debugging in GitHub Actions
1.4.1 - 2021-05-24
- use strings for
mongodb-versionin Readme and GitHub Actions Workflows
1.4.1 - 2021-05-24
mongodb-portinput allowing to start a MongoDB instance (or single-node replica set) on a custom port
1.4.0 - 2021-05-11
mongodb-portinput allowing to start a MongoDB instance (or single-node replica set) on a custom port
1.3.0 - 2020-04-10
- check if the
mongodb-versioninput is present: if not, print a message and fail the job
1.2.0 - 2020-03-30
mongodb-replica-setinput to define a MongoDB replica set name- tests connecting to MongoDB instances (single instance, replica set) created by this GitHub Action
1.1.0 - 2019-12-18
- switched from a Node.js workflow to a Docker-based workflow
- reduces noise in the repo by removing the Node.js dependencies and only relying on a shell script
- green database icon in GitHub Action details
1.0.0release 🚀 🎉