Skip to content

Commit 5d8c8e7

Browse files
author
Lucas McDonald
committed
Drop support for Node.js 18 and 20
- Update CI test matrix to only test Node.js 22.x and latest - Remove Node.js 18 and 20 CodeBuild configurations - Update release pipeline to remove Node.js 18/20 dependencies - Minimum supported Node.js version is now 22
1 parent 6f7e4be commit 5d8c8e7

File tree

9 files changed

+8
-191
lines changed

9 files changed

+8
-191
lines changed

.github/workflows/shared-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
node-version: ['18.x', '20.x', '22.x', 'latest']
25+
node-version: ['22.x', 'latest']
2626
test-type: ['node', 'browser']
2727
# Determine test categories based on whether testing published packages or source code:
2828
# - Testing published packages: only run vector tests (don't have build artifacts to test coverage or compliance)

buildspec.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,10 @@ version: 0.2
33
batch:
44
fast-fail: false
55
build-list:
6-
- identifier: testNodejs20
7-
buildspec: codebuild/nodejs20.yml
8-
env:
9-
image: aws/codebuild/standard:5.0
10-
- identifier: testNodejs18
11-
buildspec: codebuild/nodejs18.yml
12-
env:
13-
image: aws/codebuild/standard:5.0
146
- identifier: testNodejs16
157
buildspec: codebuild/nodejs16.yml
168
env:
179
image: aws/codebuild/standard:5.0
18-
- identifier: testBrowser18
19-
buildspec: codebuild/browser18.yml
20-
env:
21-
image: aws/codebuild/standard:5.0
2210
- identifier: compliance
2311
buildspec: codebuild/compliance.yml
2412
env:
@@ -29,21 +17,3 @@ batch:
2917
variables:
3018
PUBLISH_LOCAL: "true"
3119
image: aws/codebuild/standard:5.0
32-
- identifier: testVectorsNodejs18
33-
buildspec: codebuild/test_vectors/nodejs18.yml
34-
env:
35-
variables:
36-
PUBLISH_LOCAL: "true"
37-
image: aws/codebuild/standard:5.0
38-
- identifier: testVectorsNodejs20
39-
buildspec: codebuild/test_vectors/nodejs20.yml
40-
env:
41-
variables:
42-
PUBLISH_LOCAL: "true"
43-
image: aws/codebuild/standard:5.0
44-
- identifier: testVectorsBrowser18
45-
buildspec: codebuild/test_vectors/browser18.yml
46-
env:
47-
variables:
48-
PUBLISH_LOCAL: "true"
49-
image: aws/codebuild/standard:5.0

codebuild/browser18.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

codebuild/nodejs18.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

codebuild/nodejs20.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

codebuild/release/prod-release.yml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,14 @@ batch:
99
buildspec: codebuild/compliance.yml
1010

1111
# Unit Tests
12-
- identifier: testNodejs20
13-
buildspec: codebuild/nodejs20.yml
12+
- identifier: testNodejs16
13+
buildspec: codebuild/nodejs16.yml
1414
env:
1515
image: aws/codebuild/standard:5.0
16-
- identifier: testBrowser18
17-
buildspec: codebuild/browser18.yml
1816

1917
# Integration Tests
20-
- identifier: testVectorsNodejs20
21-
buildspec: codebuild/test_vectors/nodejs20.yml
22-
env:
23-
variables:
24-
PUBLISH_LOCAL: "true"
25-
image: aws/codebuild/standard:5.0
26-
- identifier: testVectorsBrowser18
27-
buildspec: codebuild/test_vectors/browser18.yml
18+
- identifier: testVectorsNodejs16
19+
buildspec: codebuild/test_vectors/nodejs16.yml
2820
env:
2921
variables:
3022
PUBLISH_LOCAL: "true"
@@ -34,10 +26,8 @@ batch:
3426
- identifier: version
3527
depend-on:
3628
- compliance
37-
- testNodejs20
38-
- testBrowser18
39-
- testVectorsNodejs20
40-
- testVectorsBrowser18
29+
- testNodejs16
30+
- testVectorsNodejs16
4131
buildspec: codebuild/release/version.yml
4232
env:
4333
image: aws/codebuild/standard:6.0
@@ -54,15 +44,7 @@ batch:
5444
- identifier: validateNodejs
5545
depend-on:
5646
- publish
57-
buildspec: codebuild/test_vectors/nodejs20.yml
58-
env:
59-
variables:
60-
PUBLISH_LOCAL: "false"
61-
image: aws/codebuild/standard:5.0
62-
- identifier: validateBrowser
63-
depend-on:
64-
- publish
65-
buildspec: codebuild/test_vectors/browser18.yml
47+
buildspec: codebuild/test_vectors/nodejs16.yml
6648
env:
6749
variables:
6850
PUBLISH_LOCAL: "false"

codebuild/test_vectors/browser18.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

codebuild/test_vectors/nodejs18.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

codebuild/test_vectors/nodejs20.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)