Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

use npm for ci #64

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Install Dependencies
run: bun i
run: npm i

- name: Check code style
run: bun format:check
run: npm run format:check

- name: Generate prisma client
run: bun prisma generate
run: npx prisma generate

- name: Lint
run: bun lint
run: npm run lint
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ model Vote {

model LLM {
id Int @id @default(autoincrement())
name String
name String @unique
sourceDescription String
userId Int
status LLMStatus @default(pending)
Expand Down