Build only required packages

This commit is contained in:
Adria Navarro 2023-10-02 16:29:04 +02:00
parent 8f82a6105c
commit 94e9715fef
2 changed files with 11 additions and 5 deletions

View File

@ -55,12 +55,8 @@ jobs:
run: yarn run: yarn
- name: Update versions - name: Update versions
run: ./scripts/updateVersions.sh run: ./scripts/updateVersions.sh
- name: Runt Yarn Lint
run: yarn lint
- name: Update versions
run: ./scripts/updateVersions.sh
- name: Run Yarn Build - name: Run Yarn Build
run: yarn build:docker:pre run: yarn build --scope @budibase/server --scope @budibase/worker
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:

View File

@ -172,6 +172,16 @@
"target": "build" "target": "build"
} }
] ]
},
"build": {
"dependsOn": [
{
"projects": [
"@budibase/client"
],
"target": "build"
}
]
} }
} }
} }