From 4631fbd424620042fa21403197c117337d5d254f Mon Sep 17 00:00:00 2001 From: Vadim Kazakov Date: Tue, 13 Dec 2022 13:45:32 -0700 Subject: [PATCH 1/2] update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 84715a5..5000e2a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Express Handlebars plugin for Nodemailer -This plugin works with nodemailer 6.x. And uses the [express-handlebars](https://github.com/ericf/express-handlebars) view +This plugin works with nodemailer 6.x. And uses the [express-handlebars](https://github.com/express-handlebars/express-handlebars) view engine to generate html emails. # Install from npm @@ -26,14 +26,14 @@ transporter.sendMail(mail); ``` ## Plugin Options The plugin expects the following options: -* __viewEngine (required)__ either the express-handlebars view engine instance or [options for the view engine](https://github.com/ericf/express-handlebars#configuration-and-defaults) +* __viewEngine (required)__ either the express-handlebars view engine instance or [options for the view engine](https://github.com/express-handlebars/express-handlebars#configuration-and-defaults) * __viewPath (required)__ provides the path to the directory where your views are * __extName__ the extension of the views to use (defaults to `.handlebars`) ## Mail options Set the template and values properties on the mail object before calling `sendMail` * __template__ the name of the template file to use -* __context__ this will be passed to the view engine as the context as well as view engine options see [here](https://github.com/ericf/express-handlebars#renderviewviewpath-optionscallback-callback) +* __context__ this will be passed to the view engine as the context as well as view engine options see [here](https://github.com/express-handlebars/express-handlebars#renderviewviewpath-optionscallback-callback) # License MIT From fe01e26d7cf18099444c9cffd00fbcd31377bd7e Mon Sep 17 00:00:00 2001 From: Vadim Kazakov Date: Tue, 13 Dec 2022 13:49:14 -0700 Subject: [PATCH 2/2] fix CI --- .github/workflows/node.js.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6c8c708..f20816e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,4 +26,6 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm test + - run: npm i -g yarn + - run: yarn + - run: yarn test