Skip to content

Commit

Permalink
bump to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Claude-GP committed Oct 3, 2024
1 parent c41b912 commit 7b22c80
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "mocha -r ts-node/register test/**/*.spec.ts",
"test:watch": "yarn test --watch --watch-extensions ts",
"build-action": "yarn ncc build ping-slack/index.ts -o ping-slack/dist",
"build-action": "NODE_OPTIONS=--openssl-legacy-provider yarn ncc build ping-slack/index.ts -o ping-slack/dist",
"build": "rm -rf ./dist && yarn tsc",
"postbuild": "cp package.json yarn.lock LICENSE README.md ./dist && cd dist && yarn install --production",
"zip": "cd dist && zip -FSr ../terraform/lambda .",
Expand Down
2 changes: 1 addition & 1 deletion ping-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ inputs:
This gives a list of changelogs in the Slack message.
required: false
runs:
using: node16
using: node20
main: dist/index.js
Binary file modified terraform/lambda.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_lambda_function" "lambda" {

source_code_hash = filebase64sha256(local.slack_lambda_zip)

runtime = "nodejs16.x"
runtime = "nodejs20.x"

environment {
variables = merge({
Expand Down

0 comments on commit 7b22c80

Please sign in to comment.