Skip to content

Commit 51c9d01

Browse files
authored
fix: don't run build script on cloud function deploy (#190)
1 parent 9c41281 commit 51c9d01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"scripts": {
1010
"prebuild": "node tools/clean-dist-files.js",
1111
"build": "tsc && node tools/copy-dist-files.js",
12+
"//gcp-build": "Don't run any build steps on cloud run. See https://cloud.google.com/functions/docs/concepts/nodejs-runtime#npm_build_script/",
13+
"gcp-build": "",
1214
"test": "jest src",
1315
"pree2e": "pnpm run build",
1416
"e2e": "jest e2e"

0 commit comments

Comments
 (0)