diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5084e6747..2b8537ce8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,14 @@ jobs: node-version-file: '.nvmrc' - name: Install dependencies run: npm ci --legacy-peer-deps + + # build libraries + - name: Build libraries + run: | + npm run build --workspace=packages/bruno-common + npm run build --workspace=packages/bruno-query + + # test - name: Test Package bruno-query run: npm run test --workspace=packages/bruno-query - name: Test Package bruno-lang @@ -24,13 +32,8 @@ jobs: run: npm run test --workspace=packages/bruno-schema - name: Test Package bruno-app run: npm run test --workspace=packages/bruno-app - - # bruno-js needs bruno-query to be built first - - name: Build Package bruno-query - run: npm run build --workspace=packages/bruno-query - name: Test Package bruno-js run: npm run test --workspace=packages/bruno-js - - name: Test Package bruno-common run: npm run test --workspace=packages/bruno-common - name: Test Package bruno-cli diff --git a/packages/bruno-tests/collection/environments/Prod.bru b/packages/bruno-tests/collection/environments/Prod.bru index 557e3f0a6..e6286f3b6 100644 --- a/packages/bruno-tests/collection/environments/Prod.bru +++ b/packages/bruno-tests/collection/environments/Prod.bru @@ -2,5 +2,7 @@ vars { host: https://testbench-sanity.usebruno.com bearer_auth_token: your_secret_token basic_auth_password: della - foo: bar + env.var1: envVar1 + env-var2: envVar2 + bark: {{process.env.PROC_ENV_VAR}} }