1.11.0 - 2024-05-22
- added
mongodb-container-name
input: this option allows you to define the Docker container name
- use the
mongo
command to interact with MongoDB versions 4.x or lower. Previously, we only checked for MongoDB 4 and would usemongosh
for 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
mongo
for MongoDB 4.x release line - use
mongosh
for MongoDB 5.x and 6.x release lines
- bump dependencies
- use
@supercharge/eslint-config
instead ofeslint-config-standard
1.7.0 - 2021-11-16
mongodb-username
andmongodb-password
inputs allowing you to configure the authentication credentials for a user created in theadmin
database (with the role ofroot
)mongodb-db
input 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-version
in Readme and GitHub Actions Workflows
1.4.1 - 2021-05-24
mongodb-port
input allowing to start a MongoDB instance (or single-node replica set) on a custom port
1.4.0 - 2021-05-11
mongodb-port
input 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-version
input is present: if not, print a message and fail the job
1.2.0 - 2020-03-30
mongodb-replica-set
input 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.0
release 🚀 🎉