Merge pull request #12129 from Budibase/clean-pipeline

CI fixes and tweaks
This commit is contained in:
Adria Navarro 2023-10-20 15:24:35 +02:00 committed by GitHub
commit 431f683a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref}}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
NX_BASE_BRANCH: origin/${{ github.base_ref }}
USE_NX_AFFECTED: ${{ github.event_name == 'pull_request' && github.base_ref != 'master'}}
USE_NX_AFFECTED: ${{ github.event_name == 'pull_request' }}
jobs:
lint:

View File

@ -4,7 +4,6 @@ on:
push:
branches:
- master
- BUDI-7641/push_v2_images_to_qa
workflow_dispatch:
jobs:

View File

@ -26,6 +26,7 @@ RUN ./scripts/removeWorkspaceDependencies.sh packages/worker/package.json
# We will never want to sync pro, but the script is still required
RUN echo '' > scripts/syncProPackage.js
RUN jq 'del(.scripts.postinstall)' package.json > temp.json && mv temp.json package.json
RUN ./scripts/removeWorkspaceDependencies.sh package.json
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn install --production
# copy the actual code