diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01f7169..8755a8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: v22.x + node-version: lts/* cache: 'npm' cache-dependency-path: package.json @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - node-version: [20.x, 22.x, 24.x] + node-version: [22, 24, 26] runs-on: ${{matrix.os}} steps: - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index d1096ab..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run test diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100755 index 1dc4645..0000000 --- a/.husky/pre-push +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run test:ci diff --git a/package.json b/package.json index 4ea4317..0f4243a 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "release": "npx standard-version --no-verify" }, "engines": { - "node": ">=20.0.0" + "node": ">=22.0.0" }, "keywords": [ "fastify", @@ -40,8 +40,7 @@ "license": "MIT", "devDependencies": { "@types/node": "^25.0.2", - "fastify": "^5.0.0", - "husky": "^9.0.11", + "fastify": "^5.8.5", "nodemon": "^3.0.1", "snazzy": "^9.0.0", "standard": "^17.0.0", @@ -52,7 +51,7 @@ }, "dependencies": { "@fastify/error": "^4.0.0", - "fastify-plugin": "^5.0.1" + "fastify-plugin": "^6.0.0" }, "tsd": { "directory": "test"