mongodb-memory-server
mongodb-memory-server copied to clipboard
Add documentation for github actions caching
Reminder Issue to add documentation to add a example on how to properly set-up github actions cache for MMS
I'm seeing multiple errors on GitHub Actions, about being unable to find the binary - Sometimes it passes, others it won't. What would be the proper way to cache it?
i intend to add a proper guide with the following options and not just for github-actions, but for now: caching in github actions is done easily:
https://github.com/nodkz/mongodb-memory-server/blob/a3b2254437b0ad86cdec679425609af833816ec5/.github/workflows/tests.yml#L35-L40
or also:
mongoose: https://github.com/Automattic/mongoose/blob/b864f622da5fa626980d8df4ed159a8ec8afb7a2/.github/workflows/test.yml#L67-L72
typegoose: https://github.com/typegoose/typegoose/blob/e8470f4b4621c579d26c70d0fb76a68fc3909042/.github/workflows/tests.yml#L30-L35
I'm seeing multiple errors on GitHub Actions, about being unable to find the binary
please open a issue / discussion or ask on our discord about setup / error help
Thanks!