This commit is contained in:
2025-06-19 02:09:24 +00:00
committed by GitHub
commit 717155ea22
78 changed files with 13145 additions and 0 deletions

34
.github/workflows/jest.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Run Jest Tests
on:
push:
branches:
- main
paths:
- 'apps/data/albums.ts'
- 'apps/data/artists.ts'
pull_request:
branches:
- main
paths:
- 'apps/data/albums.ts'
- 'apps/data/artists.ts'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Run Jest tests
run: npm test

23
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Lint
on:
pull_request:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Run Next.js lint
run: npm run lint