Skip to content

Commit f011fa3

Browse files
feat!: Support Node 18+ (#896)
* feat!: Support Node 18+ Drop Support for older versions of Node.js * chore: skip windows kitchen sink until #897
1 parent db44cce commit f011fa3

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
node: [14, 16, 18, 20, 21]
12+
node: [18, 20, 22]
1313
steps:
1414
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1515
- uses: actions/setup-node@v4
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
3030
- uses: actions/setup-node@v4
3131
with:
32-
node-version: 20
32+
node-version: 18
3333
- run: npm ci
3434
- run: npm run system-test
3535
system_test:
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 20
41+
node-version: 18
4242
- run: npm ci
4343
- run: npm run system-test
4444
lint:
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
4848
- uses: actions/setup-node@v4
4949
with:
50-
node-version: 20
50+
node-version: 18
5151
- run: npm ci
5252
- run: npm run lint
5353
license_check:
@@ -56,6 +56,6 @@ jobs:
5656
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5757
- uses: actions/setup-node@v4
5858
with:
59-
node-version: 20
59+
node-version: 18
6060
- run: npm ci
6161
- run: npm run license-check

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1010
- uses: actions/setup-node@v4
1111
with:
12-
node-version: 20
12+
node-version: 18
1313
registry-url: 'https://wombat-dressing-room.appspot.com'
1414
- run: npm ci
1515
- run: npm publish

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"fix": "eslint --fix '**/*.ts'"
3333
},
3434
"engines": {
35-
"node": ">=14"
35+
"node": ">=18"
3636
},
3737
"keywords": [
3838
"typescript",

test/kitchen.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const execOpts = {
1818
encoding: 'utf8' as BufferEncoding,
1919
};
2020

21-
describe('🚰 kitchen sink', () => {
21+
const action = process.platform !== 'win32' ? describe : describe.skip;
22+
23+
action('🚰 kitchen sink', () => {
2224
const fixturesPath = path.join('test', 'fixtures');
2325
const gtsPath = path.join('node_modules', '.bin', 'gts');
2426
const kitchenPath = path.join(stagingPath, 'kitchen');

0 commit comments

Comments
 (0)