Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/automatic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ jobs:
with:
node-version: '18'

- name: Enable Corepack
run: corepack enable

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: cache yarn
uses: actions/cache@v3
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@
"prettier": "^2.8.8",
"ts-jest": "^29.0.1",
"typescript": "^5.1.5"
}
},
"packageManager": "yarn@4.9.4+sha512.7b1cb0b62abba6a537b3a2ce00811a843bea02bcf53138581a6ae5b1bf563f734872bd47de49ce32a9ca9dcaff995aa789577ffb16811da7c603dcf69e73750b"
}
3 changes: 2 additions & 1 deletion src/notifications/sendgrid/sendgrid-mail-sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ export const createSendGridMailSender = ({
return async (to, template, data) => {
const templateId = await getTemplateId(template)
if (!templateId) {
return console.error(
console.error(
`sendgrid notifications: no template for event ${template} was found`
)
return
}

await sgmail.send({
Expand Down
Loading