Skip to content

Commit a02b727

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

11 files changed

Lines changed: 1 addition & 264 deletions

File tree

.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 & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,7 @@ 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
14-
- identifier: testNodejs16
15-
buildspec: codebuild/nodejs16.yml
16-
env:
17-
image: aws/codebuild/standard:5.0
18-
- identifier: testBrowser18
19-
buildspec: codebuild/browser18.yml
20-
env:
21-
image: aws/codebuild/standard:5.0
226
- identifier: compliance
237
buildspec: codebuild/compliance.yml
248
env:
259
image: aws/codebuild/standard:5.0
26-
- identifier: testVectorsNodejs16
27-
buildspec: codebuild/test_vectors/nodejs16.yml
28-
env:
29-
variables:
30-
PUBLISH_LOCAL: "true"
31-
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/nodejs16.yml

Lines changed: 0 additions & 19 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: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,10 @@ batch:
88
- identifier: compliance
99
buildspec: codebuild/compliance.yml
1010

11-
# Unit Tests
12-
- identifier: testNodejs20
13-
buildspec: codebuild/nodejs20.yml
14-
env:
15-
image: aws/codebuild/standard:5.0
16-
- identifier: testBrowser18
17-
buildspec: codebuild/browser18.yml
18-
19-
# 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
28-
env:
29-
variables:
30-
PUBLISH_LOCAL: "true"
31-
image: aws/codebuild/standard:5.0
32-
3311
# Version the project and push git commits and tags
3412
- identifier: version
3513
depend-on:
3614
- compliance
37-
- testNodejs20
38-
- testBrowser18
39-
- testVectorsNodejs20
40-
- testVectorsBrowser18
4115
buildspec: codebuild/release/version.yml
4216
env:
4317
image: aws/codebuild/standard:6.0
@@ -49,21 +23,3 @@ batch:
4923
buildspec: codebuild/release/publish.yml
5024
env:
5125
image: aws/codebuild/standard:6.0
52-
53-
# Validate that the published versions are available
54-
- identifier: validateNodejs
55-
depend-on:
56-
- 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
66-
env:
67-
variables:
68-
PUBLISH_LOCAL: "false"
69-
image: aws/codebuild/standard:5.0

codebuild/test_vectors/browser18.yml

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

codebuild/test_vectors/nodejs16.yml

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

codebuild/test_vectors/nodejs18.yml

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

0 commit comments

Comments
 (0)