This commit is contained in:
Adria Navarro 2023-08-10 11:10:47 +03:00
parent b6faf5ca5d
commit fb4b439f7b
1 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@ jobs:
# Run build all the projects # Run build all the projects
- name: Build - name: Build
run: | run: |
if [[ ${{ env.USE_NX_AFFECTED }} ]]; then if ${{ env.USE_NX_AFFECTED }}; then
yarn build --since=${{ env.NX_BASE_BRANCH }} yarn build --since=${{ env.NX_BASE_BRANCH }}
else else
yarn build yarn build
@ -77,7 +77,7 @@ jobs:
# 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 if ${{ env.USE_NX_AFFECTED }}; then
yarn check:types --since=${{ env.NX_BASE_BRANCH }} yarn check:types --since=${{ env.NX_BASE_BRANCH }}
else else
yarn check:types yarn check:types
@ -107,7 +107,7 @@ jobs:
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
if [[ ${{ env.USE_NX_AFFECTED }} ]]; then if ${{ env.USE_NX_AFFECTED }}; then
yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro --since=${{ env.NX_BASE_BRANCH }} yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro --since=${{ env.NX_BASE_BRANCH }}
else else
yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro
@ -142,7 +142,7 @@ jobs:
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test worker and server - name: Test worker and server
run: | run: |
if [[ ${{ env.USE_NX_AFFECTED }} ]]; then if ${{ env.USE_NX_AFFECTED }}; then
yarn test --scope=@budibase/worker --scope=@budibase/server --since=${{ env.NX_BASE_BRANCH }} yarn test --scope=@budibase/worker --scope=@budibase/server --since=${{ env.NX_BASE_BRANCH }}
else else
yarn test --scope=@budibase/worker --scope=@budibase/server yarn test --scope=@budibase/worker --scope=@budibase/server
@ -173,7 +173,7 @@ jobs:
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
if [[ ${{ env.USE_NX_AFFECTED }} ]]; then if ${{ env.USE_NX_AFFECTED }}; then
yarn test --scope=@budibase/pro --since=${{ env.NX_BASE_BRANCH }} yarn test --scope=@budibase/pro --since=${{ env.NX_BASE_BRANCH }}
else else
yarn test --scope=@budibase/pro yarn test --scope=@budibase/pro