Skip to content

Commit

Permalink
feat: update to node18 and drop node16
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Sep 19, 2023
1 parent ff20417 commit c414bf2
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["18", "16"]
node: ["18", "20"]
name: Build with NodeJS v${{ matrix.node }}
env:
FORCE_COLOR: 1
Expand Down
26 changes: 26 additions & 0 deletions tests/http-filter-with-auth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"flows": {
"localhost": {
"filters": [
{
"type": "http-filter",
"url": "http://localhost:16662/smtp/filter",
"allowAnyUser": true
}
],
"outputs": [
{
"type": "file",
"path": "./emails/"
}
]
}
},
"options": {
"disableReverseLookup": false,
"authOptional": false,
"allowInsecureAuth": true,
"logger": true
}
}

25 changes: 25 additions & 0 deletions tests/http-filter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"flows": {
"localhost": {
"filters": [
{
"type": "http-filter",
"url": "http://localhost:16662/smtp/filter"
}
],
"outputs": [
{
"type": "file",
"path": "./emails/"
}
]
}
},
"options": {
"disableReverseLookup": false,
"authOptional": true,
"allowInsecureAuth": true,
"logger": true
}
}

0 comments on commit c414bf2

Please sign in to comment.