From 5afcaa285a382548c4de1bea225eb9a77afc149b Mon Sep 17 00:00:00 2001 From: William Killerud Date: Fri, 1 Mar 2024 13:32:35 +0100 Subject: [PATCH] chore: upgrade devDependencies (#256) * chore: update versions in workflows * chore: update tap * chore: update devDependencies --- .github/workflows/publish.yml | 12 ++++++------ .github/workflows/test.yml | 6 +++--- .gitignore | 3 ++- package.json | 12 ++++++------ tap-snapshots/test/main.js.test.cjs | 2 +- 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a351952..5e4a51b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20 - name: npm install run: | npm install @@ -33,11 +33,11 @@ jobs: needs: [test] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20 - name: npm install run: | npm install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3127b42..4a51372 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,11 +8,11 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - node-version: [14.x, 16.x] + node-version: [18, 20] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: npm install diff --git a/.gitignore b/.gitignore index 16a39c6..da095c9 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ tmp/**/* *.log coverage .vscode -.nyc_output/ \ No newline at end of file +.nyc_output/ +.tap/ \ No newline at end of file diff --git a/package.json b/package.json index 28c493e..3db0056 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lib" ], "scripts": { - "test": "tap --no-check-coverage", + "test": "tap --disable-coverage --allow-empty-coverage", "test:snapshots:update": "tap test/**/*.js --snapshot", "lint:fix": "eslint --fix .", "lint": "eslint ." @@ -38,12 +38,12 @@ "@semantic-release/git": "10.0.1", "eslint": "8.57.0", "eslint-config-airbnb-base": "15.0.0", - "eslint-config-prettier": "8.10.0", + "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.29.1", - "eslint-plugin-prettier": "4.2.1", - "prettier": "2.8.8", - "semantic-release": "19.0.5", - "tap": "16.3.10", + "eslint-plugin-prettier": "5.1.3", + "prettier": "3.2.5", + "semantic-release": "23.0.2", + "tap": "18.7.0", "unique-slug": "2.0.2" } } diff --git a/tap-snapshots/test/main.js.test.cjs b/tap-snapshots/test/main.js.test.cjs index 7cf836c..f8c3c1f 100644 --- a/tap-snapshots/test/main.js.test.cjs +++ b/tap-snapshots/test/main.js.test.cjs @@ -7,7 +7,7 @@ 'use strict' -exports[`test/main.js TAP Sink() - .metrics - all successfull operations > metrics should match snapshot 1`] = ` +exports[`test/main.js > TAP > Sink() - .metrics - all successfull operations > metrics should match snapshot 1`] = ` [ { "name": "eik_core_sink_gcs",