Skip to content

Commit 8700220

Browse files
authored
chore: upgrade to node20 runtime (#195)
1 parent ad4297f commit 8700220

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deployment/modules/webhook/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "google_storage_bucket_object" "publish_to_bcr_function_bucket_object"
3535
resource "google_cloudfunctions_function" "publish_to_bcr_function" {
3636
name = "github-webhook"
3737
description = "Handle incoming github events"
38-
runtime = "nodejs18"
38+
runtime = "nodejs20"
3939

4040
available_memory_mb = 1024
4141
source_archive_bucket = google_storage_bucket.source_archive_bucket.name

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "module",
55
"main": "./application/webhook/index.js",
66
"engines": {
7-
"node": "^18"
7+
"node": "^20",
8+
"pnpm": ">=9"
89
},
910
"scripts": {
1011
"prebuild": "node tools/clean-dist-files.js",

0 commit comments

Comments
 (0)