Skip to content

Commit

Permalink
Use Node 18 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
plumdog authored May 14, 2024
1 parent 65fff92 commit 8180049
Show file tree
Hide file tree
Showing 7 changed files with 453 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
Expand Down
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: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
2 changes: 1 addition & 1 deletion cdkv2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class SesSmtpCredentialsProvider extends Construct {
this.provider = new customResource.Provider(this, 'ses-smtp-credentials-provider', {
onEventHandler: new lambda.Function(this, 'ses-smtp-credentials-event', {
code: lambda.Code.fromAsset(path.join(__dirname, 'provider')),
runtime: lambda.Runtime.NODEJS_16_X,
runtime: lambda.Runtime.NODEJS_18_X,
handler: 'main.onEvent',
timeout: cdk.Duration.minutes(5),
initialPolicy: [
Expand Down
Loading

0 comments on commit 8180049

Please sign in to comment.