Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.1.0 #47

Merged
merged 3 commits into from
Aug 22, 2023
Merged
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
34 changes: 0 additions & 34 deletions .github/workflows/ci-test-win.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/ci-test.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on: [ push ]

env:
CI: true

jobs:

lint:
uses: haraka/.github/.github/workflows/lint.yml@master

test:
needs: [ lint, get-lts ]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node-version: ${{ fromJson(needs.get-lts.outputs.active) }}
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test

get-lts:
runs-on: ubuntu-latest
steps:
- id: get
uses: msimerson/node-lts-versions@v1
outputs:
active: ${{ steps.get.outputs.active }}
lts: ${{ steps.get.outputs.lts }}
min: ${{ steps.get.outputs.min }}
14 changes: 14 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CodeQL

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '18 7 * * 4'

jobs:
codeql:
uses: haraka/.github/.github/workflows/codeql.yml@master
6 changes: 3 additions & 3 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:

steps:

- uses: actions/checkout@master
- uses: actions/checkout@v3
name: Checkout Plugin
with:
fetch-depth: 1

- name: Use Node.js 12
- name: Use Node.js 14
uses: actions/setup-node@master
with:
node-version: 12.x
node-version: 14

- name: install, run
run: |
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/lint.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: publish

on:
push:
branches:
- master
paths:
- package.json

env:
CI: true

jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ node_modules

package-lock.json

# Generated from grammar.ne
grammar.js
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".release"]
path = .release
url = [email protected]:msimerson/.release.git
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ build/Release
node_modules
.lock-wscript
package-lock.json
grammar.js
.eslintrc.yaml
1 change: 1 addition & 0 deletions .release
Submodule .release added at 0890e9
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@
### 1.0.0 - 2016-12-08

- replaced null host or user values with empty strings
[2.1.0]: https://github.com/haraka/node-address-rfc2821/releases/tag/2.1.0
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[![Build Status][ci-img]][ci-url]
[![WinCI status][win-ci-img]][win-ci-url]
[![Dependencies][dep-img]][dep-url]
[![Coverage Status][cov-img]][cov-url]


# address-rfc2821

Parser for RFC-821/RFC-2821/RFC-5321 (envelope) format email addresses (Mailbox and Path).

This module parses email addresses from the SMTP envelope. These are the
portions immediately following the SMTP verbs `MAIL FROM:` and `RCPT TO:`. RFC-5321 email addesses look like this:
This module parses email addresses from the SMTP envelope. These are the portions immediately following the SMTP verbs `MAIL FROM:` and `RCPT TO:`. RFC-5321 email addesses look like this:

````
<> // null
Expand Down Expand Up @@ -91,11 +88,7 @@ License
This module is MIT licensed.


[ci-img]: https://github.com/haraka/node-address-rfc2821/workflows/Test%20Coverage/badge.svg
[ci-url]: https://github.com/haraka/node-address-rfc2821/actions?query=workflow%3A%22Test+Coverage%22
[dep-img]: https://david-dm.org/haraka/node-address-rfc2821.svg
[dep-url]: https://david-dm.org/haraka/node-address-rfc2821
[ci-img]: https://github.com/haraka/node-address-rfc2821/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/haraka/node-address-rfc2821/actions/workflows/ci.yml
[cov-img]: https://codecov.io/github/haraka/node-address-rfc2821/coverage.svg?branch=master
[cov-url]: https://codecov.io/github/haraka/node-address-rfc2821?branch=master
[win-ci-img]: https://github.com/haraka/node-address-rfc2821/workflows/Plugin%20Tests%20-%20Windows/badge.svg
[win-ci-url]: https://github.com/haraka/node-address-rfc2821/actions?query=workflow%3A%22Plugin+Tests+-+Windows%22
Loading