From 0efadd565392eb71b491294ec89d87539fa975a3 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 4 Feb 2022 21:59:34 +0100 Subject: [PATCH] Cleanup ci (switch to node 14 for coverage and linting) (#67) * Switch to picocolors nanocolors is deprecated + cleanup co (switch to node 14 for coverage and linting) + add dependabot for github actions * Update package.json --- .github/dependabot.yml | 9 ++++----- .github/workflows/linter.yml | 4 ++-- .github/workflows/tester.yml | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0cc35b4..f3afc1b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 3349333..af995bb 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -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: diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index a84aa28..1b31e18 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -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 }} diff --git a/package.json b/package.json index 4b6b56f..04dc865 100644 --- a/package.json +++ b/package.json @@ -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"