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 # Run build all the projects
- name: Build - name: Build
run: | run: |
if ${{ env.USE_NX_AFFECTED }}; then
yarn build --since=${{ env.NX_BASE_BRANCH }}
else
yarn build yarn build
fi
# Check the types of the projects built via esbuild # Check the types of the projects built via esbuild
- name: Check types - name: Check types
run: | run: |
if ${{ env.USE_NX_AFFECTED }}; then
yarn check:types --since=${{ env.NX_BASE_BRANCH }}
else
yarn check:types yarn check:types
fi
test-libraries: test-libraries:
runs-on: ubuntu-latest runs-on: ubuntu-latest