Add build docker image to CI (#7332)

* add build docker image to CI

* remove node setup

* removed local dependency to test passing docker build

* Update CHANGELOG.md

* Revert "removed local dependency to test passing docker build"

This reverts commit a7801e1874be206c9f3f7bfd367766546bf483b6.

* removed unnecessary docker build options

* fixed docker build
This commit is contained in:
Manuel
2021-04-09 16:40:03 +02:00
committed by GitHub
parent 9ea355b463
commit bf732b9a6e
8 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
/**
* A mock mail adapter for testing.
*/
class MockMailAdapter {
constructor(options = {}) {
if (options.throw) {
throw 'MockMailAdapterConstructor';
}
}
sendMail() {
return 'MockMailAdapterSendMail';
}
}
module.exports = MockMailAdapter;

View File

@@ -0,0 +1,6 @@
{
"name": "mock-mail-adapter",
"version": "1.0.0",
"description": "Mock mail adapter for tests.",
"main": "index.js"
}