Skip to content

Commit

Permalink
Merge pull request #467 from mrmlnc/require_node_18.18
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmlnc authored Dec 1, 2024
2 parents 1558f62 + c43c2d8 commit 7f28b15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node_version: [16.14.0, 16, 18, 20, 22]
node_version: [18.18.0, 18, 20, 22]
os:
- ubuntu-latest
- macos-latest
Expand All @@ -35,7 +35,6 @@ jobs:
run: npm install
- name: Run Hygiene Checks
run: npm run lint
if: ${{ matrix.node_version >= 18 }}
- name: Prepare bundle
run: npm run bundle
- name: Run unit tests
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://mrmlnc.com"
},
"engines": {
"node": ">=16.14.0"
"node": ">=18.18.0"
},
"main": "build/index.js",
"typings": "build/index.d.ts",
Expand All @@ -31,7 +31,7 @@
"@types/merge2": "^1.4.4",
"@types/micromatch": "^4.0.9",
"@types/mocha": "^10.0.10",
"@types/node": "^16.18.61",
"@types/node": "^18.19.67",
"@types/picomatch": "^3.0.1",
"@types/sinon": "^17.0.3",
"bencho": "^0.1.1",
Expand Down Expand Up @@ -69,7 +69,7 @@
"build": "npm run _build:compile && npm run lint && npm test",
"watch": "npm run _build:compile -- -- --sourceMap --watch",
"_bundle:dts": "tsc --emitDeclarationOnly --outDir ./build",
"_bundle:ts": "esbuild --bundle ./src/index.ts --outfile=./build/index.js --platform=node --target=node16.14 --format=cjs",
"_bundle:ts": "esbuild --bundle ./src/index.ts --outfile=./build/index.js --platform=node --target=node18.18 --format=cjs",
"_bundle:build": "npm run _bundle:dts && npm run _bundle:ts",
"_bundle:test:replace": "cp ./build/index.js ./out",
"_bundle:test": "npm run _bundle:test:replace",
Expand Down

0 comments on commit 7f28b15

Please sign in to comment.