1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-12 15:59:18 +00:00

feat: Move internals to bunJS (#459)

This commit is contained in:
2024-01-03 00:40:03 +01:00
committed by GitHub
parent f8c1d7dce9
commit 034b7e2cec
14 changed files with 95 additions and 4359 deletions

View File

@ -6,7 +6,7 @@ on:
tags:
- v*
pull_request:
branches:
branches:
- master
jobs:
@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
@ -31,7 +31,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern=latest
type=semver,pattern=latest
- name: Login to Docker Hub
uses: docker/login-action@v3

29
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Test the Data
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup BunJS
uses: oven-sh/setup-bun@v1
- name: Install deps
run: |
bun install --frozen-lockfile
cd server
bun install --frozen-lockfile
- name: Validate the data
run: bun run validate