Skip to content

Commit f18ccd6

Browse files
committed
feat!(CodeBuild): Drop Node 12 & 14; Test Node 18 & 20
BREAKING CHANGE: This library no longer tests against nor supports NodeJS 12 or 14.
1 parent f495bb6 commit f18ccd6

File tree

8 files changed

+32
-49
lines changed

8 files changed

+32
-49
lines changed

buildspec.yml

+14-16
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,40 @@ version: 0.2
33
batch:
44
fast-fail: false
55
build-list:
6-
- identifier: testNodejsLatest
7-
buildspec: codebuild/nodejs_latest.yml
6+
- identifier: testNodejs20
7+
buildspec: codebuild/nodejs20.yml
88
env:
99
image: aws/codebuild/standard:5.0
10-
- identifier: testNodejs14
11-
buildspec: codebuild/nodejs14.yml
10+
- identifier: testNodejs18
11+
buildspec: codebuild/nodejs18.yml
1212
env:
1313
image: aws/codebuild/standard:5.0
1414
- identifier: testNodejs16
1515
buildspec: codebuild/nodejs16.yml
1616
env:
1717
image: aws/codebuild/standard:5.0
18-
- identifier: testBrowser
19-
buildspec: codebuild/browser.yml
18+
- identifier: testBrowser18
19+
buildspec: codebuild/browser18.yml
2020
env:
2121
image: aws/codebuild/standard:5.0
2222
- identifier: compliance
2323
buildspec: codebuild/compliance.yml
2424
env:
2525
image: aws/codebuild/standard:5.0
26-
- identifier: testVectorsNodejsLatest
27-
buildspec: codebuild/test_vectors/nodejs_latest.yml
26+
- identifier: testVectorsNodejs16
27+
buildspec: codebuild/test_vectors/nodejs16.yml
2828
env:
29-
variables:
30-
PUBLISH_LOCAL: "true"
3129
image: aws/codebuild/standard:5.0
32-
- identifier: testVectorsNodejs14
33-
buildspec: codebuild/test_vectors/nodejs14.yml
30+
- identifier: testVectorsNodejs18
31+
buildspec: codebuild/test_vectors/nodejs18.yml
3432
env:
3533
image: aws/codebuild/standard:5.0
36-
- identifier: testVectorsNodejs16
37-
buildspec: codebuild/test_vectors/nodejs16.yml
34+
- identifier: testVectorsNodejs20
35+
buildspec: codebuild/test_vectors/nodejs20.yml
3836
env:
3937
image: aws/codebuild/standard:5.0
40-
- identifier: testVectorsBrowser
41-
buildspec: codebuild/test_vectors/browser.yml
38+
- identifier: testVectorsBrowser18
39+
buildspec: codebuild/test_vectors/browser18.yml
4240
env:
4341
variables:
4442
PUBLISH_LOCAL: "true"
File renamed without changes.

codebuild/nodejs14.yml renamed to codebuild/nodejs18.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ env:
66

77
phases:
88
install:
9-
runtime-versions:
10-
nodejs: 14
119
commands:
10+
- n 18
11+
- node -v
12+
- npm -v
1213
- npm ci --unsafe-perm
1314
- npm run build
1415
build:
1516
commands:
17+
- npm -v
18+
- node -v
1619
- npm run coverage-node

codebuild/nodejs_latest.yml renamed to codebuild/nodejs20.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
phases:
88
install:
99
commands:
10-
- n 18
10+
- n 20
1111
- node --version ; npm --version
1212
- npm ci --unsafe-perm
1313
- npm run build

codebuild/test_vectors/nodejs12.yml renamed to codebuild/test_vectors/nodejs18.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ env:
77

88
phases:
99
install:
10-
runtime-versions:
11-
nodejs: 12
1210
commands:
13-
- npm ci
11+
- n 18
12+
- node -v
13+
- npm -v
14+
- npm ci --unsafe-perm
1415
- npm run build
1516
build:
1617
commands:
18+
- npm -v
19+
- node -v
1720
- npm run verdaccio-publish
1821
- npm run verdaccio-node-decrypt
1922
- npm run verdaccio-node-encrypt

codebuild/test_vectors/nodejs14.yml renamed to codebuild/test_vectors/nodejs20.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ env:
77

88
phases:
99
install:
10-
runtime-versions:
11-
nodejs: 14
1210
commands:
13-
- npm ci
11+
- n 20
12+
- node -v
13+
- npm -v
14+
- npm ci --unsafe-perm
1415
- npm run build
1516
build:
1617
commands:
18+
- npm -v
19+
- node -v
1720
- npm run verdaccio-publish
1821
- npm run verdaccio-node-decrypt
1922
- npm run verdaccio-node-encrypt

codebuild/test_vectors/nodejs_latest.yml

-24
This file was deleted.

0 commit comments

Comments
 (0)