2023-01-17 15:05:59 +01:00
|
|
|
name: Unit Tests
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
timeout-minutes: 60
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
- name: Install dependencies
|
|
|
|
run: npm i --legacy-peer-deps
|
|
|
|
- name: Test Package bruno-lang
|
|
|
|
run: npm run test --workspace=packages/bruno-lang
|
2023-01-22 19:09:59 +01:00
|
|
|
- name: Test Package bruno-schema
|
|
|
|
run: npm run test --workspace=packages/bruno-schema
|