From 393bdecd0dc963947dadc301a126f1a773acbdf2 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 10 Aug 2023 17:34:51 +0300 Subject: [PATCH] Check:types using affected --- .github/workflows/budibase_ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index b754587d34..6cdfba068b 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -73,7 +73,11 @@ jobs: # Check the types of the projects built via esbuild - name: Check types run: | - yarn check:types + if ${{ env.USE_NX_AFFECTED }}; then + yarn check:types --since=${{ env.NX_BASE_BRANCH }} + else + yarn check:types + fi test-libraries: runs-on: ubuntu-latest