mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-08-15 01:41:59 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
47 lines
852 B
YAML
47 lines
852 B
YAML
name: Test the Data
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- "**"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
|
|
- 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 --bun validate
|
|
|
|
- name: Validate some requests
|
|
run: |
|
|
cd server
|
|
bun run start &
|
|
sleep 10
|
|
cd ../.bruno
|
|
bru run --env Developpement
|