Skip to content

Commit

Permalink
chore: upgrade to node20 runtime (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
kormide authored Jan 9, 2025
1 parent ad4297f commit 8700220
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/modules/webhook/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": "module",
"main": "./application/webhook/index.js",
"engines": {
"node": "^18"
"node": "^20",
"pnpm": ">=9"
},
"scripts": {
"prebuild": "node tools/clean-dist-files.js",
Expand Down

0 comments on commit 8700220

Please sign in to comment.