diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 712b340..8a030ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 18, 20] + node: [18, 20] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 73b2583..f25884a 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ build: $(DST) $(DST): $(SRC) node_modules # workaround for https://github.com/evanw/esbuild/issues/1921 - npx esbuild --log-level=warning --platform=node --target=node16 --format=esm --bundle --minify --legal-comments=none --banner:js="import {createRequire} from 'module';const require = createRequire(import.meta.url);" --define:import.meta.VERSION=\"$(shell jq .version package.json)\" --outfile=$(DST) $(SRC) --external:undici + npx esbuild --log-level=warning --platform=node --target=node18 --format=esm --bundle --minify --legal-comments=none --banner:js="import {createRequire} from 'module';const require = createRequire(import.meta.url);" --define:import.meta.VERSION=\"$(shell jq .version package.json)\" --outfile=$(DST) $(SRC) --external:undici chmod +x $(DST) .PHONY: publish diff --git a/package.json b/package.json index cdb91f4..d190e10 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "bin": "./bin/updates.js", "type": "module", "engines": { - "node": ">=16" + "node": ">=18" }, "files": [ "./bin/updates.js"