diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 35a78ae..152d7bc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,14 +16,15 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: npm ci - - run: npm run build --if-present - run: npm test diff --git a/package.json b/package.json index 83f7a38..fef90f4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "mocha test/*_test.js" }, "engines": { - "node": ">=10" + "node": ">=18" }, "repository": { "type": "git",