Skip to content

Commit

Permalink
add empty seed script
Browse files Browse the repository at this point in the history
  • Loading branch information
ettorepuccetti committed Jan 5, 2024
1 parent 308bb29 commit 383a2e8
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: install pnpm
uses: pnpm/action-setup@v2
- name: Download the build folders
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -92,6 +94,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: install pnpm
uses: pnpm/action-setup@v2
- name: Download the build folders
uses: actions/download-artifact@v4
with:
Expand All @@ -115,6 +119,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: install pnpm
uses: pnpm/action-setup@v2
- name: Download the build folders
uses: actions/download-artifact@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"dependencies": {
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^5.7.1",
Expand Down Expand Up @@ -60,6 +63,7 @@
"prettier-plugin-tailwindcss": "^0.5.7",
"prisma": "^5.7.1",
"tailwindcss": "^3.3.5",
"ts-node": "^10.9.2",
"typescript": "^5.1.6"
},
"ct3aMetadata": {
Expand Down
136 changes: 129 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions prisma/seed.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Nothing to seed yet!");

0 comments on commit 383a2e8

Please sign in to comment.