Skip to content

Commit

Permalink
chore: release script, dropped nodejs 8 and added 14 to ci (#13)
Browse files Browse the repository at this point in the history
* chore: release script, dropped nodejs 8 and added 14 to ci

* chore: added release-it dev dep

* chore: bumped deps
  • Loading branch information
robertsLando authored Jul 9, 2020
1 parent 025f8e0 commit 0533268
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 13.x]
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v1
Expand Down
30 changes: 24 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,24 @@
"test": "npm run lint && npm run unit",
"coverage": "nyc --reporter=lcov tape test.js",
"test:ci": "npm run lint && npm run coverage",
"license-checker": "license-checker --production --onlyAllow=\"MIT;ISC;BSD-3-Clause;BSD-2-Clause\""
"license-checker": "license-checker --production --onlyAllow=\"MIT;ISC;BSD-3-Clause;BSD-2-Clause\"",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
},
"release-it": {
"github": {
"release": true
},
"git": {
"tagName": "v${version}"
},
"hooks": {
"before:init": [
"npm run test"
]
},
"npm": {
"publish": true
}
},
"pre-commit": [
"test"
Expand All @@ -31,15 +48,16 @@
},
"homepage": "https://github.com/mcollina/aedes-stats#readme",
"devDependencies": {
"aedes": "^0.40.1",
"aedes": "^0.42.5",
"faucet": "0.0.1",
"license-checker": "^25.0.1",
"mqtt": "^3.0.0",
"nyc": "^15.0.0",
"mqtt": "^4.1.0",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"qlobber": "^3.1.0",
"qlobber": "^5.0.0",
"release-it": "^13.6.4",
"snazzy": "^8.0.0",
"standard": "^14.3.1",
"standard": "^14.3.4",
"tape": "^4.13.0"
},
"dependencies": {}
Expand Down

0 comments on commit 0533268

Please sign in to comment.