fix(ci): validate erzeugt fehlende buildInfo vorab (fresh checkout)
deploy to production / deploy (push) Successful in 37s
deploy to production / deploy (push) Successful in 37s
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"author": "Sebastian Frank <sebastian@webmakers.de>",
|
"author": "Sebastian Frank <sebastian@webmakers.de>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"validate": "svelte-check --tsconfig ./tsconfig.validate.json --fail-on-warnings && tsc --noEmit -p ./tsconfig.validate.json",
|
"validate": "node -e \"const fs=require('fs'); if(!fs.existsSync('./frontend/src/lib/buildInfo.ts')||!fs.existsSync('./api/hooks/lib/buildInfo.js')) require('./esbuild.config').writeBuildInfo()\" && svelte-check --tsconfig ./tsconfig.validate.json --fail-on-warnings && tsc --noEmit -p ./tsconfig.validate.json",
|
||||||
"dev": "node scripts/esbuild-wrapper.js watch",
|
"dev": "node scripts/esbuild-wrapper.js watch",
|
||||||
"start": "node scripts/esbuild-wrapper.js start",
|
"start": "node scripts/esbuild-wrapper.js start",
|
||||||
"start:mock": "MOCK=1 node scripts/esbuild-wrapper.js start",
|
"start:mock": "MOCK=1 node scripts/esbuild-wrapper.js start",
|
||||||
|
|||||||
Reference in New Issue
Block a user