mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-18 02:30:58 +01:00
fix: fixed tests workflow
This commit is contained in:
parent
a7253f1579
commit
8ada457bfc
18
.github/workflows/tests.yml
vendored
18
.github/workflows/tests.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
|
|
||||||
# bruno-js needs bruno-query to be built first
|
# bruno-js needs bruno-query to be built first
|
||||||
- name: Build Package bruno-query
|
- name: Build Package bruno-query
|
||||||
run: npm build test --workspace=packages/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
|
||||||
|
|
||||||
@ -42,7 +42,21 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies and run tests
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version-file: '.nvmrc'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci --legacy-peer-deps
|
||||||
|
|
||||||
|
- name: Build Libraries
|
||||||
|
run: |
|
||||||
|
npm run build --workspace=packages/bruno-query
|
||||||
|
npm run build --workspace=packages/bruno-lang
|
||||||
|
npm run build --workspace=packages/bruno-schema
|
||||||
|
npm run build --workspace=packages/bruno-common
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cd packages/bruno-tests/collection
|
cd packages/bruno-tests/collection
|
||||||
node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit
|
node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit
|
||||||
|
Loading…
Reference in New Issue
Block a user