Skip to content

Commit

Permalink
update: lamba runtime node version (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco authored Jun 6, 2024
1 parent 930bc7b commit fa5e6da
Show file tree
Hide file tree
Showing 4 changed files with 371 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '20.x'
- name: Install deps
run: npm install -g npm@7 && npm ci
- name: Install CDK
Expand Down
8 changes: 4 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export class BalancerPoolsAPI extends Stack {
SENTRY_DSN: SENTRY_DSN || '',
DEBUG: DEBUG || '',
},
runtime: Runtime.NODEJS_14_X,
runtime: Runtime.NODEJS_20_X,
timeout: Duration.seconds(15),
};

Expand Down Expand Up @@ -348,7 +348,7 @@ export class BalancerPoolsAPI extends Stack {
TENDERLY_PROJECT: TENDERLY_PROJECT || '',
TENDERLY_ACCESS_KEY: TENDERLY_ACCESS_KEY || '',
},
runtime: Runtime.NODEJS_14_X,
runtime: Runtime.NODEJS_20_X,
timeout: Duration.seconds(15),
}
);
Expand All @@ -363,7 +363,7 @@ export class BalancerPoolsAPI extends Stack {
TENDERLY_PROJECT: TENDERLY_PROJECT || '',
TENDERLY_ACCESS_KEY: TENDERLY_ACCESS_KEY || '',
},
runtime: Runtime.NODEJS_14_X,
runtime: Runtime.NODEJS_20_X,
timeout: Duration.seconds(15),
}
);
Expand All @@ -374,7 +374,7 @@ export class BalancerPoolsAPI extends Stack {
HYPERNATIVE_EMAIL: HYPERNATIVE_EMAIL || '',
HYPERNATIVE_PASSWORD: HYPERNATIVE_PASSWORD || '',
},
runtime: Runtime.NODEJS_14_X,
runtime: Runtime.NODEJS_20_X,
timeout: Duration.seconds(15),
});

Expand Down
Loading

0 comments on commit fa5e6da

Please sign in to comment.