Skip to content

Commit

Permalink
Use node14 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
plumdog authored Aug 15, 2022
1 parent bc7e1a6 commit 330a8d4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion cdkv1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class SopsSecretsManagerProvider extends cdk.Construct {
this.provider = new customResource.Provider(this, common.providerLogicalId, {
onEventHandler: new lambda.Function(this, common.providerFunctionLogicalId, {
code: lambda.Code.fromAsset(common.providerCodePath),
runtime: lambda.Runtime.NODEJS_12_X,
runtime: lambda.Runtime.NODEJS_14_X,
handler: common.providerHandler,
timeout: cdk.Duration.minutes(common.providerTimoutMinutes),
initialPolicy: policyStatements,
Expand Down
2 changes: 1 addition & 1 deletion cdkv2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class SopsSecretsManagerProvider extends constructs.Construct {
this.provider = new customResource.Provider(this, common.providerLogicalId, {
onEventHandler: new lambda.Function(this, common.providerFunctionLogicalId, {
code: lambda.Code.fromAsset(common.providerCodePath),
runtime: lambda.Runtime.NODEJS_12_X,
runtime: lambda.Runtime.NODEJS_14_X,
handler: common.providerHandler,
timeout: cdk.Duration.minutes(common.providerTimoutMinutes),
initialPolicy: policyStatements,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint-all": "npm run lint && (cd provider && npm run lint) && (cd example/sops-example && npm run lint)",
"lint-check-all": "npm run lint-check && (cd provider && npm run lint-check) && (cd example/sops-example && npm run lint-check)",
"deploy-example": "npm run compile && (cd example && ./run_example.sh full-test)",
"test-old-dependencies": "rm -rf _old/ && mkdir -p _old && (git ls-files | xargs -I{} sh -c 'mkdir -p $(dirname _old/{}) && cp {} _old/{}') && (cd _old && mv package_test_old_deps.json package.json && rm -f package-lock.json && npm i && npm run test)"
"test-old-dependencies": "rm -rf _old/ && mkdir -p _old && (git ls-files | grep -v cdkv2.test.ts | xargs -I{} sh -c 'mkdir -p $(dirname _old/{}) && cp {} _old/{}') && (cd _old && mv package_test_old_deps.json package.json && rm -f package-lock.json && npm i && npm run test)"
},
"peerDependencies": {
"@aws-cdk/aws-cloudformation": "^1.21.1",
Expand Down
26 changes: 13 additions & 13 deletions package_test_old_deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
"@types/node": ">=10"
},
"devDependencies": {
"@aws-cdk/assert": "1.21.1",
"@aws-cdk/aws-lambda": "1.21.1",
"@aws-cdk/aws-iam": "1.21.1",
"@aws-cdk/aws-s3": "1.21.1",
"@aws-cdk/aws-s3-assets": "1.21.1",
"@aws-cdk/aws-kms": "1.21.1",
"@aws-cdk/aws-secretsmanager": "1.21.1",
"@aws-cdk/core": "1.21.1",
"@aws-cdk/custom-resources": "1.21.1",
"@aws-cdk/aws-cloudformation": "1.21.1",
"@aws-cdk/assert": "1.89.0",
"@aws-cdk/aws-lambda": "1.89.0",
"@aws-cdk/aws-iam": "1.89.0",
"@aws-cdk/aws-s3": "1.89.0",
"@aws-cdk/aws-s3-assets": "1.89.0",
"@aws-cdk/aws-kms": "1.89.0",
"@aws-cdk/aws-secretsmanager": "1.89.0",
"@aws-cdk/core": "1.89.0",
"@aws-cdk/custom-resources": "1.89.0",
"@aws-cdk/aws-cloudformation": "1.89.0",
"typescript": ">=3.0.0",
"jest": "24.9.0",
"ts-jest": "24.1.0",
"@types/jest": "~24.0.22"
"jest": "26.6.3",
"ts-jest": "^26.0.0",
"@types/jest": "^26.0.0"
}
}

0 comments on commit 330a8d4

Please sign in to comment.