Do not build using affected

This commit is contained in:
Adria Navarro 2023-08-10 17:33:31 +03:00
parent 65e5e40963
commit 5ff26ab2da
1 changed files with 2 additions and 10 deletions

View File

@ -69,19 +69,11 @@ jobs:
# Run build all the projects
- name: Build
run: |
if ${{ env.USE_NX_AFFECTED }}; then
yarn build --since=${{ env.NX_BASE_BRANCH }}
else
yarn build
fi
yarn build
# Check the types of the projects built via esbuild
- name: Check types
run: |
if ${{ env.USE_NX_AFFECTED }}; then
yarn check:types --since=${{ env.NX_BASE_BRANCH }}
else
yarn check:types
fi
yarn check:types
test-libraries:
runs-on: ubuntu-latest