Skip to content

Commit

Permalink
chore(ci): use GHA with shared workflows (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson authored May 29, 2022
1 parent 2a5fd2d commit 43ce36e
Show file tree
Hide file tree
Showing 14 changed files with 80 additions and 262 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/ci-test.yml

This file was deleted.

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

on:
push:

env:
CI: true

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

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

test:
needs: lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node-version: [ 14, 16, 18 ]
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
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: NicTool/.github/.github/workflows/codeql.yml@master
41 changes: 0 additions & 41 deletions .github/workflows/coveralls.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/lint.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/master.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: NicTool/.github/.github/workflows/publish.yml@master
secrets: inherit
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 = https://github.com/msimerson/.release
1 change: 1 addition & 0 deletions .release
Submodule .release added at 4d5c90
34 changes: 0 additions & 34 deletions .release/base.sh

This file was deleted.

48 changes: 0 additions & 48 deletions .release/do.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .release/push.sh

This file was deleted.

10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@

#### 1.N.N - YYYY-MM-DD
#### N.N.N - YYYY-MM-DD


#### 1.1.2 - 2022-05-28

- chore(ci): replace .release with submodule
- chore(ci): use GHA with shared workflows


#### 1.1.1 - 2022-04-28

- feat(DNSKEY): expanded algo from 1-5 to 1-16 (RFC 8624)
- warn if outside that range, not error
- feat(HINFO): added to/from tinydns
- test(dnskey): update fail test


#### 1.1.0 - 2022-04-22
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dns-resource-record",
"version": "1.1.1",
"version": "1.1.2",
"description": "DNS Resource Records",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 43ce36e

Please sign in to comment.