mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-05-21 07:39:54 +00:00
34 lines
551 B
YAML
34 lines
551 B
YAML
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 --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
|