diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7724e92e..04b472e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: pull_request: env: - default_node_version: 14 + default_node_version: 20 jobs: test: @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ["14", "16", "18"] + node-version: ["20", "22", "24"] fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 13e904dd..2602aa95 100644 --- a/package.json +++ b/package.json @@ -67,14 +67,14 @@ "eslint": "^8.2.0", "eslint-config-hexo": "^5.0.0", "hexo-renderer-marked": "^6.0.0", - "mocha": "^10.0.0", + "mocha": "^11.7.5", "nyc": "^15.1.0", - "rewire": "^6.0.0", + "rewire": "^9.0.1", "sinon": "^17.0.1", "ts-node": "^10.9.1", - "typescript": "^5.0.0" + "typescript": "^5.9.3" }, "engines": { - "node": ">=14" + "node": ">=20" } }