Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedriad1 committed Feb 25, 2024
1 parent 1feb798 commit 2538f2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: ./tooling/github/setup

- name: Run Seed Script
run: pnpm run db:seed:ci
run: pnpm run db:seed:versions
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"db:push": "drizzle-kit push:mysql",
"db:drop": "drizzle-kit drop",
"db:seed": "dotenv npx tsx ./scripts/seed.ts",
"db:seed:ci": "npx tsx ./scripts/seed.ts",
"db:seed:versions": "npx tsx ./scripts/seed/version.ts",
"db:seed:authors": "npx tsx ./scripts/seed/author.ts",
"db:seed:books": "npx tsx ./scripts/seed/book.ts",
"dev": "next dev",
"lint": "next lint",
"start": "next start",
Expand Down

0 comments on commit 2538f2b

Please sign in to comment.