diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3edb585..035a56e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,4 +1,5 @@ -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs name: Node.js CI @@ -15,12 +16,12 @@ jobs: strategy: matrix: - node-version: [14, 16, 18, 20, 21] + node-version: [18, 20, 21] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/package.json b/package.json index a5ebf03..84bd9f0 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "type": "module", "exports": "./index.js", "engines": { - "node": ">=14" + "node": ">=18" }, "repository": "https://github.com/75lb/renamer", "files": [