Skip to content

Commit caf2a52

Browse files
committed
drop node 18.x support
1 parent e6e1e7a commit caf2a52

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/lint-build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [18.x, 20.x, 22.x, 24.x]
12+
node-version: [20.x, 22.x, 24.x]
1313
outputs:
1414
child-workspace-package-names: ${{ steps.workspace-package-names.outputs.child-workspace-package-names }}
1515
steps:
@@ -140,7 +140,7 @@ jobs:
140140
needs: prepare
141141
strategy:
142142
matrix:
143-
node-version: [18.x, 20.x, 22.x]
143+
node-version: [20.x, 22.x]
144144
package-name: ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }}
145145
steps:
146146
- name: Checkout and setup environment

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"pre-push": "yarn lint"
9898
},
9999
"engines": {
100-
"node": "^18.18 || >=20"
100+
"node": ">=20"
101101
},
102102
"packageManager": "yarn@4.14.1",
103103
"lavamoat": {

packages/sample-snap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@
5959
"typescript": "~5.7.3"
6060
},
6161
"engines": {
62-
"node": "^18.18 || >=20"
62+
"node": ">=20"
6363
}
6464
}

yarn.config.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ module.exports = defineConfig({
294294
expectWorkspaceField(workspace, 'packageManager', 'yarn@4.14.1');
295295
}
296296

297-
// All packages must specify a minimum Node.js version of 18.18.
298-
expectWorkspaceField(workspace, 'engines.node', '^18.18 || >=20');
297+
// All packages must specify a minimum Node.js version of 20.
298+
expectWorkspaceField(workspace, 'engines.node', '>=20');
299299

300300
// All non-root public packages should be published to the NPM registry;
301301
// all non-root private packages should not.

0 commit comments

Comments
 (0)