-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(ci): depend on shared GHA workflows * chore(dep): eslint 6 -> 8, mocha 8 -> 9
- Loading branch information
Showing
9 changed files
with
103 additions
and
170 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: CI | ||
|
||
on: | ||
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 | ||
runs-on: ${{ matrix.os }} | ||
# services: | ||
# redis: | ||
# image: redis | ||
# ports: | ||
# - 6379:6379 | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"name": "haraka-config", | ||
"license": "MIT", | ||
"description": "Haraka's config file loader", | ||
"version": "1.0.20", | ||
"version": "1.1.0", | ||
"homepage": "http://haraka.github.io", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -20,18 +20,18 @@ | |
"hjson": "^3.2.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": ">=6", | ||
"eslint": ">=8", | ||
"eslint-plugin-haraka": "*", | ||
"mocha": ">=8" | ||
"mocha": ">=9" | ||
}, | ||
"bugs": { | ||
"mail": "[email protected]", | ||
"url": "https://github.com/haraka/haraka-config/issues" | ||
}, | ||
"scripts": { | ||
"test": "npx mocha test test/readers", | ||
"lint": "npx eslint *.js readers/*.js test/*.js test/*/*.js", | ||
"lintfix": "npx eslint --fix *.js readers/*.js test/*.js test/*/*.js", | ||
"cover": "npx nyc --reporter=lcov npm test" | ||
"lint": "npx eslint *.js readers test test/*/*.js", | ||
"lintfix": "npx eslint --fix *.js readers test test/*/*.js", | ||
"versions": "npx dependency-version-checker check" | ||
} | ||
} |