fix: fixed github test workflow issues

This commit is contained in:
Anoop M D 2024-01-29 17:42:27 +05:30
parent ad1b0950bc
commit 65b76b7281
2 changed files with 11 additions and 6 deletions

View File

@ -16,6 +16,14 @@ jobs:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
- name: Install dependencies - name: Install dependencies
run: npm ci --legacy-peer-deps 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 - name: Test Package bruno-query
run: npm run test --workspace=packages/bruno-query run: npm run test --workspace=packages/bruno-query
- name: Test Package bruno-lang - name: Test Package bruno-lang
@ -24,13 +32,8 @@ jobs:
run: npm run test --workspace=packages/bruno-schema run: npm run test --workspace=packages/bruno-schema
- name: Test Package bruno-app - name: Test Package bruno-app
run: npm run test --workspace=packages/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 - name: Test Package bruno-js
run: npm run test --workspace=packages/bruno-js run: npm run test --workspace=packages/bruno-js
- name: Test Package bruno-common - name: Test Package bruno-common
run: npm run test --workspace=packages/bruno-common run: npm run test --workspace=packages/bruno-common
- name: Test Package bruno-cli - name: Test Package bruno-cli

View File

@ -2,5 +2,7 @@ vars {
host: https://testbench-sanity.usebruno.com host: https://testbench-sanity.usebruno.com
bearer_auth_token: your_secret_token bearer_auth_token: your_secret_token
basic_auth_password: della basic_auth_password: della
foo: bar env.var1: envVar1
env-var2: envVar2
bark: {{process.env.PROC_ENV_VAR}}
} }