Skip to content

Commit

Permalink
Cleanup ci (switch to node 14 for coverage and linting) (#67)
Browse files Browse the repository at this point in the history
* Switch to picocolors
nanocolors is deprecated
+ cleanup co (switch to node 14 for coverage and linting)
+ add dependabot for github actions

* Update package.json
  • Loading branch information
tomap authored Feb 4, 2022
1 parent 1eefde1 commit 0efadd5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ updates:
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 20
ignore:
- dependency-name: sinon
versions:
- 10.0.0
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '14.x'
- name: Cache NPM dependencies
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['12.x']
node-version: ['14.x']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "nyc --reporter=lcovonly npm run test"
"test-cov": "nyc --reporter=lcovonly npm test"
},
"directories": {
"lib": "./lib"
Expand Down

0 comments on commit 0efadd5

Please sign in to comment.