Skip to content

Commit 64cc85b

Browse files
committed
chore: remove node 10 from CI
BREAKING CHANGE: Removing CI coverage for Node 10
1 parent e21e51f commit 64cc85b

File tree

7 files changed

+31
-22
lines changed

7 files changed

+31
-22
lines changed

buildspec.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ version: 0.2
33
batch:
44
fast-fail: false
55
build-list:
6-
- identifier: testNodejs10
7-
buildspec: codebuild/nodejs10.yml
6+
- identifier: testNodejsLatest
7+
buildspec: codebuild/nodejs_latest.yml
8+
env:
9+
image: aws/codebuild/standard:5.0
810
- identifier: testNodejs12
911
buildspec: codebuild/nodejs12.yml
1012
- identifier: testNodejs14
@@ -15,8 +17,10 @@ batch:
1517
buildspec: codebuild/browser.yml
1618
- identifier: compliance
1719
buildspec: codebuild/compliance.yml
18-
- identifier: testVectorsNodejs10
19-
buildspec: codebuild/test_vectors/nodejs10.yml
20+
- identifier: testVectorsNodejsLatest
21+
buildspec: codebuild/test_vectors/nodejs_latest.yml
22+
env:
23+
image: aws/codebuild/standard:5.0
2024
- identifier: testVectorsNodejs12
2125
buildspec: codebuild/test_vectors/nodejs12.yml
2226
- identifier: testVectorsNodejs14

codebuild/nodejs10.yml renamed to codebuild/nodejs_latest.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ env:
77
phases:
88
install:
99
runtime-versions:
10-
nodejs: 10
10+
nodejs: latest
1111
commands:
12+
- node --version ; npm --version
1213
- npm ci --unsafe-perm
1314
- npm run build
1415
build:

codebuild/test_vectors/browser.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ version: 0.2
33
env:
44
variables:
55
NODE_OPTIONS: "--max-old-space-size=4096"
6+
NPM_CONFIG_UNSAFE_PERM: true
67

78
phases:
89
install:
910
runtime-versions:
1011
nodejs: latest
1112
commands:
12-
- npm ci --unsafe-perm
13+
- npm ci
1314
- npm run build
1415
build:
1516
commands:
1617
- npm run verdaccio-publish
17-
- npm run verdaccio-publish-browser-decrypt
18-
- npm run verdaccio-publish-browser-encrypt
18+
- npm run verdaccio-browser-decrypt
19+
- npm run verdaccio-browser-encrypt

codebuild/test_vectors/nodejs12.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ version: 0.2
33
env:
44
variables:
55
NODE_OPTIONS: "--max-old-space-size=4096"
6+
NPM_CONFIG_UNSAFE_PERM: true
67

78
phases:
89
install:
910
runtime-versions:
1011
nodejs: 12
1112
commands:
12-
- npm ci --unsafe-perm
13+
- npm ci
1314
- npm run build
1415
build:
1516
commands:
1617
- npm run verdaccio-publish
17-
- npm run verdaccio-publish-node-decrypt
18-
- npm run verdaccio-publish-node-encrypt
18+
- npm run verdaccio-node-decrypt
19+
- npm run verdaccio-node-encrypt

codebuild/test_vectors/nodejs14.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ version: 0.2
33
env:
44
variables:
55
NODE_OPTIONS: "--max-old-space-size=4096"
6+
NPM_CONFIG_UNSAFE_PERM: true
67

78
phases:
89
install:
910
runtime-versions:
1011
nodejs: 14
1112
commands:
12-
- npm ci --unsafe-perm
13+
- npm ci
1314
- npm run build
1415
build:
1516
commands:
1617
- npm run verdaccio-publish
17-
- npm run verdaccio-publish-node-decrypt
18-
- npm run verdaccio-publish-node-encrypt
18+
- npm run verdaccio-node-decrypt
19+
- npm run verdaccio-node-encrypt

codebuild/test_vectors/nodejs10.yml renamed to codebuild/test_vectors/nodejs_latest.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ version: 0.2
33
env:
44
variables:
55
NODE_OPTIONS: "--max-old-space-size=4096"
6+
NPM_CONFIG_UNSAFE_PERM: true
67

78
phases:
89
install:
910
runtime-versions:
10-
nodejs: 10
11+
nodejs: latest
1112
commands:
12-
- npm ci --unsafe-perm
13+
- npm ci
1314
- npm run build
1415
build:
1516
commands:
1617
- npm run verdaccio-publish
17-
- npm run verdaccio-publish-node-decrypt
18-
- npm run verdaccio-publish-node-encrypt
18+
- npm run verdaccio-node-decrypt
19+
- npm run verdaccio-node-encrypt

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
"integration": "run-s integration-*",
4444
"verdaccio": "run-s verdaccio-*",
4545
"verdaccio-publish": "./util/local_verdaccio_publish",
46-
"verdaccio-publish-browser-decrypt": "./util/npx_verdaccio @aws-crypto/integration-browser decrypt -v $npm_package_config_localTestVectors --karma -c cpu",
47-
"verdaccio-publish-browser-encrypt": "./util/npx_verdaccio @aws-crypto/integration-browser encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle --karma -c cpu",
48-
"verdaccio-publish-node-decrypt": "./util/npx_verdaccio @aws-crypto/integration-node decrypt -v $npm_package_config_localTestVectors -c cpu",
49-
"verdaccio-publish-node-encrypt": "./util/npx_verdaccio @aws-crypto/integration-node encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle -c cpu",
46+
"verdaccio-browser-decrypt": "./util/npx_verdaccio @aws-crypto/integration-browser decrypt -v $PWD/$npm_package_config_localTestVectors --karma -c cpu",
47+
"verdaccio-browser-encrypt": "./util/npx_verdaccio @aws-crypto/integration-browser encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle --karma -c cpu",
48+
"verdaccio-node-decrypt": "./util/npx_verdaccio @aws-crypto/integration-node decrypt -v $PWD/$npm_package_config_localTestVectors -c cpu",
49+
"verdaccio-node-encrypt": "./util/npx_verdaccio @aws-crypto/integration-node encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle -c cpu",
5050
"test_conditions": "./aws-encryption-sdk-specification/util/test_conditions -s 'modules/**/src/*.ts' -t 'modules/**/test/*.ts' -s 'compliance_exceptions/*.ts'",
5151
"duvet-report": "aws-encryption-sdk-specification/util/report.js modules/**/src/**/*.ts modules/**/test/**/*.ts compliance_exceptions/*.ts"
5252
},

0 commit comments

Comments
 (0)