Build all

This commit is contained in:
Adria Navarro 2023-05-23 11:46:20 +02:00
parent 931458094b
commit 8b912dc8ed
3 changed files with 1 additions and 4 deletions

View File

@ -44,8 +44,7 @@ jobs:
node-version: 14.x node-version: 14.x
cache: "yarn" cache: "yarn"
- run: yarn - run: yarn
- run: yarn build --projects=@budibase/string-templates - run: yarn nx run-many -t=build --configuration=production
- run: yarn nx run-many -t=build:checktypes
test-libraries: test-libraries:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -12,7 +12,6 @@
"prebuild": "rimraf dist/", "prebuild": "rimraf dist/",
"build": "node ./scripts/build.js", "build": "node ./scripts/build.js",
"postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client", "postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client",
"build:checktypes": "tsc -p tsconfig.build.json --noEmit",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js", "debug": "yarn build && node --expose-gc --inspect=9222 dist/index.js",
"test": "bash scripts/test.sh", "test": "bash scripts/test.sh",

View File

@ -14,7 +14,6 @@
"scripts": { "scripts": {
"prebuild": "rimraf dist/", "prebuild": "rimraf dist/",
"build": "cd ../.. && nx build @budibase/worker", "build": "cd ../.. && nx build @budibase/worker",
"build:checktypes": "yarn build --configuration=production",
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
"run:docker": "node dist/index.js", "run:docker": "node dist/index.js",
"debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js", "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js",