Skip to content

Commit

Permalink
fix: fixed tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Jan 29, 2024
1 parent a7253f1 commit 8ada457
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

# bruno-js needs bruno-query to be built first
- 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
run: npm run test --workspace=packages/bruno-js

Expand All @@ -42,7 +42,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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: |
cd packages/bruno-tests/collection
node ../../bruno-cli/bin/bru.js run --env Prod --output junit.xml --format junit
Expand Down

0 comments on commit 8ada457

Please sign in to comment.