diff --git a/deployment/modules/webhook/main.tf b/deployment/modules/webhook/main.tf index 4abebea..8f76e1a 100644 --- a/deployment/modules/webhook/main.tf +++ b/deployment/modules/webhook/main.tf @@ -35,7 +35,7 @@ resource "google_storage_bucket_object" "publish_to_bcr_function_bucket_object" resource "google_cloudfunctions_function" "publish_to_bcr_function" { name = "github-webhook" description = "Handle incoming github events" - runtime = "nodejs18" + runtime = "nodejs20" available_memory_mb = 1024 source_archive_bucket = google_storage_bucket.source_archive_bucket.name diff --git a/package.json b/package.json index 55bafa3..68ae134 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "module", "main": "./application/webhook/index.js", "engines": { - "node": "^18" + "node": "^20" }, "scripts": { "prebuild": "node tools/clean-dist-files.js",