1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

Prefix env

This commit is contained in:
Adria Navarro 2023-08-08 11:48:16 +03:00
parent 3e7da2bfd1
commit 49bc467eb9

View file

@ -62,9 +62,9 @@ jobs:
cache: "yarn"
- run: yarn --frozen-lockfile
# Run build all the projects
- run: yarn build --since=${{ NX_BASE_BRANCH }}
- run: yarn build --since=${{ env.NX_BASE_BRANCH }}
# Check the types of the projects built via esbuild
- run: yarn check:types --since=${{ NX_BASE_BRANCH }}
- run: yarn check:types --since=${{ env.NX_BASE_BRANCH }}
test-libraries:
runs-on: ubuntu-latest
@ -85,7 +85,7 @@ jobs:
node-version: 18.x
cache: "yarn"
- run: yarn --frozen-lockfile
- run: yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro --since=${{ NX_BASE_BRANCH }}
- run: yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro --since=${{ env.NX_BASE_BRANCH }}
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
@ -112,7 +112,7 @@ jobs:
cache: "yarn"
- run: yarn --frozen-lockfile
- name: Test worker and server
run: yarn test --scope=@budibase/worker --scope=@budibase/server --since=${{ NX_BASE_BRANCH }}
run: yarn test --scope=@budibase/worker --scope=@budibase/server --since=${{ env.NX_BASE_BRANCH }}
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN || github.token }} # not required for public repos
@ -135,7 +135,7 @@ jobs:
node-version: 18.x
cache: "yarn"
- run: yarn --frozen-lockfile
- run: yarn test --scope=@budibase/pro --since=${{ NX_BASE_BRANCH }}
- run: yarn test --scope=@budibase/pro --since=${{ env.NX_BASE_BRANCH }}
integration-test:
runs-on: ubuntu-latest