Skip to content

Commit

Permalink
drop node 10, add node 16 testing (#61)
Browse files Browse the repository at this point in the history
* README: update CI url
  • Loading branch information
msimerson committed Jul 12, 2023
1 parent a297551 commit 4d4a05a
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 77 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/ci-test.yml

This file was deleted.

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

on: [ pull_request, push ]

env:
CI: true

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

coverage:
uses: haraka/.github/.github/workflows/coverage.yml@master
secrets: inherit

test:
needs: [ lint ]
uses: haraka/.github/.github/workflows/ubuntu.yml@master

windows:
needs: [ lint ]
uses: haraka/.github/.github/workflows/windows.yml@master
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
4 changes: 2 additions & 2 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
with:
fetch-depth: 1

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

- 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
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[![Build Status][ci-img]][ci-url]
[![Win Build status][ci-win-img]][ci-win-url]
[![Code Climate][clim-img]][clim-url]
[![Coverage Status][cov-img]][cov-url]

Expand Down Expand Up @@ -47,12 +46,8 @@ License

This module is MIT licensed.



[ci-img]: https://github.com/haraka/node-address-rfc2822/workflows/Unix%20Tests/badge.svg
[ci-url]: https://github.com/haraka/node-address-rfc2822/actions?query=workflow%3A%22Unix+Tests%22
[ci-win-img]: https://github.com/haraka/node-address-rfc2822/workflows/Tests%20-%20Windows/badge.svg
[ci-win-url]: https://github.com/haraka/node-address-rfc2822/actions?query=workflow%3A%22Tests+-+Windows%22
[ci-img]: https://github.com/haraka/node-address-rfc2822/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/haraka/node-address-rfc2822/actions/workflows/ci.yml
[cov-img]: https://codecov.io/github/haraka/node-address-rfc2822/coverage.svg
[cov-url]: https://codecov.io/github/haraka/node-address-rfc2822?branch=master
[clim-img]: https://codeclimate.com/github/haraka/haraka-plugin-template/badges/gpa.svg
Expand Down

0 comments on commit 4d4a05a

Please sign in to comment.