Skip to content

Commit c761a4c

Browse files
authored
Release v1.1.7 (#26)
- ci: replace travis & appveyor with GitHub actions - test: replace nodeunit with mocha - test: update header checks against lower cased header names
1 parent a37a07f commit c761a4c

16 files changed

+112
-76
lines changed

.codeclimate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
engines:
1+
engines:
22
eslint:
33
enabled: true
4-
channel: "eslint-3"
4+
channel: "eslint-8"
55
config:
6-
config: ".eslintrc.json"
6+
config: ".eslintrc.yaml"
77

88
ratings:
99
paths:

.eslintrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ env:
22
node: true
33
es6: true
44
mocha: true
5+
es2020: true
56

67
plugins:
78
- haraka

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ Checklist:
88
- [ ] docs updated
99
- [ ] tests updated
1010
- [ ] Changes.md updated
11-
- [ ] package.json.version bumped
12-
- [ ] published to NPM (will be done by @core)

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: "npm"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"
9+
allow:
10+
- dependency-type: production

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on: [ push ]
4+
5+
env:
6+
CI: true
7+
8+
jobs:
9+
10+
lint:
11+
uses: haraka/.github/.github/workflows/lint.yml@master
12+
13+
# coverage:
14+
# uses: haraka/.github/.github/workflows/coverage.yml@master
15+
# secrets: inherit
16+
17+
test:
18+
needs: [ lint, get-lts ]
19+
runs-on: ${{ matrix.os }}
20+
strategy:
21+
matrix:
22+
os: [ ubuntu-latest, windows-latest ]
23+
node-version: ${{ fromJson(needs.get-lts.outputs.active) }}
24+
fail-fast: false
25+
steps:
26+
- uses: actions/checkout@v3
27+
- uses: actions/setup-node@v3
28+
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
- run: npm install
32+
- run: npm test
33+
34+
get-lts:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- id: get
38+
uses: msimerson/node-lts-versions@v1
39+
outputs:
40+
active: ${{ steps.get.outputs.active }}
41+
lts: ${{ steps.get.outputs.lts }}

.github/workflows/codeql.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: '18 7 * * 4'
10+
11+
jobs:
12+
codeql:
13+
uses: haraka/.github/.github/workflows/codeql.yml@master

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
env:
9+
CI: true
10+
11+
jobs:
12+
publish:
13+
uses: haraka/.github/.github/workflows/publish.yml@master
14+
secrets: inherit

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ jspm_packages
3636
# Optional REPL history
3737
.node_repl_history
3838

39-
package-lock.json
39+
package-lock.json
40+
haraka-update.sh

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".release"]
2+
path = .release
3+
url = [email protected]:msimerson/.release.git

.release

Submodule .release added at 9be2b27

0 commit comments

Comments
 (0)