chore: Add error reporting (#617) #356
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test the Data | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup BunJS | |
uses: oven-sh/setup-bun@v2 | |
- name: Install deps | |
run: | | |
bun install -g @usebruno/cli | |
bun install --frozen-lockfile | |
cd server | |
bun install --frozen-lockfile | |
bun run compile | |
- name: Validate the data & the server | |
run: | | |
bun run validate | |
cd server | |
bun run validate | |
- name: Validate some requests | |
run: | | |
cd server | |
bun run start & | |
sleep 10 | |
cd ../.bruno | |
bru run --env Developpement |