Skip to content

Commit ea71a3b

Browse files
committed
chore!: drop support for Node 14 and 16
BREAKING_CHANGE: the minimum supported Node version is now 18 Changes: - Updated Node.js versions in npmtest.yml, pages.yml, and release-please.yml. - Updated .nvmrc to use Node.js v20. - Updated package.json to require Node.js >=18. - Updated shell.nix to use nixpkgs 24.05 and nodejs_20.
1 parent c895299 commit ea71a3b

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/npmtest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
node: [14, 16, 18]
17+
node: [18, 20, 22]
1818
os: [ubuntu-latest]
1919
steps:
2020
- uses: actions/checkout@v1

.github/workflows/pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Node
2929
uses: actions/setup-node@v3
3030
with:
31-
node-version: 18
31+
node-version: 20
3232
cache: 'yarn'
3333

3434
- name: Install Dependencies

.github/workflows/release-please.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 16.x
21+
node-version: 20.x
2222
registry-url: 'https://registry.npmjs.org'
2323
cache: 'yarn'
2424
if: ${{ steps.release.outputs.release_created }}

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.16.0
1+
v20

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"main": "dist/index.min.js",
1818
"module": "dist/index.es.js",
1919
"engines": {
20-
"node": ">=14"
20+
"node": ">=18"
2121
},
2222
"files": [
2323
"dist"

shell.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/22.11.tar.gz") { };
1+
with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz") { };
22

33
stdenv.mkDerivation {
44
name = "react-editext";
55

66
buildInputs = with pkgs; [
77
git
8-
nodejs
8+
nodejs_20
99
tmux
1010
yarn
1111
];

0 commit comments

Comments
 (0)