Skip to content

Commit 29c806b

Browse files
committed
cicd(build): Drop node 14 support
1 parent c879324 commit 29c806b

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [14.x, 16.x, 18.x]
13+
node-version: [16.x, 18.x, 20.x]
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/release.yml

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
env:
1818
CI: true
1919
GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }}
20-
NPM_OTP_TOKEN: ${{ github.event.inputs.otp }}
2120
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2221
runs-on: ubuntu-latest
2322
steps:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"test:coverage": "jest --coverage"
4545
},
4646
"engines": {
47-
"node": ">=v14.21.3"
47+
"node": ">=v16"
4848
},
4949
"peerDependencies": {
5050
"@types/node": "*",

scripts/esbuild.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const FORMATS = ["cjs", "esm"];
1717
/**
1818
* @type {import('esbuild').BuildOptions['target']}
1919
*/
20-
const TARGETS = ["node14", "node16", "node18", "node20", "esnext"];
20+
const TARGETS = ["node16", "node18", "node20", "esnext"];
2121

2222
const ROOT = path.resolve(__dirname, "..");
2323
const SOURCES_ROOT = path.resolve(ROOT, "./lib");

0 commit comments

Comments
 (0)