diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7724e92..ddd8318 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: 16 jobs: test: @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ["14", "16", "18"] + node-version: ["16", "18", "20", "22"] fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index d2f85a1..ef40e45 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@types/js-yaml": "^4.0.5", "@types/mocha": "^10.0.6", "@types/node": "^18.11.7", - "c8": "^9.1.0", + "c8": "^10.1.2", "chai": "^5.0.0", "eslint": "^8.23.1", "eslint-config-hexo": "^5.0.0", @@ -43,6 +43,6 @@ "typescript": "^5.2.2" }, "engines": { - "node": ">=14" + "node": ">=16" } }