Prefix env

This commit is contained in:
Adria Navarro 2023-08-08 11:48:16 +03:00
parent 3e7da2bfd1
commit 49bc467eb9
1 changed files with 5 additions and 5 deletions

View File

@ -62,9 +62,9 @@ jobs:
cache: "yarn" cache: "yarn"
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
# Run build all the projects # 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 # 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: test-libraries:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -85,7 +85,7 @@ jobs:
node-version: 18.x node-version: 18.x
cache: "yarn" cache: "yarn"
- run: yarn --frozen-lockfile - 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 - uses: codecov/codecov-action@v3
with: with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
@ -112,7 +112,7 @@ jobs:
cache: "yarn" cache: "yarn"
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test worker and server - 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 - uses: codecov/codecov-action@v3
with: with:
token: ${{ secrets.CODECOV_TOKEN || github.token }} # not required for public repos token: ${{ secrets.CODECOV_TOKEN || github.token }} # not required for public repos
@ -135,7 +135,7 @@ jobs:
node-version: 18.x node-version: 18.x
cache: "yarn" cache: "yarn"
- run: yarn --frozen-lockfile - 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: integration-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest