Skip to content

Commit 26786dd

Browse files
Update Cloud Build configuration to use node:24-bookworm for npm commands
1 parent a9a2797 commit 26786dd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cloudbuild.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
steps:
2-
- name: "gcr.io/cloud-builders/npm"
3-
args: ["ci"]
4-
- name: "gcr.io/cloud-builders/npm"
5-
args: ["run", "build"]
2+
- name: "node:24-bookworm"
3+
entrypoint: "bash"
4+
args: ["-lc", "npm ci"]
5+
- name: "node:24-bookworm"
6+
entrypoint: "bash"
7+
args: ["-lc", "npm run build"]
68
- name: "gcr.io/cloud-builders/docker"
79
args:
810
- "build"

0 commit comments

Comments
 (0)