Skip to content

Commit

Permalink
Setup GitHub actions (#131)
Browse files Browse the repository at this point in the history
* Add CI/CD pipeline and db migration workflow

* Add env variables for direct URL in CI/CD pipeline

* Update env variables in CI/CD pipeline

* Update Node.js version in CI/CD pipeline

* bring back accidentally deleted code

* Update actions/checkout to v4 in CI/CD pipeline

* Update actions/setup-node to v4 in CI/CD pipeline

* update version for second job as well

* move seed script

- instead of "npx prisma seed" we must now run "npm run seed"
- now that script will not run on the server
  • Loading branch information
JoarHansson authored Nov 4, 2024
1 parent 2aeeac5 commit 9698722
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"build": "next build",
"postbuild": "npx playwright install && npx playwright install-deps",
"start": "next start",
"lint": "next lint"
},
"prisma": {
"lint": "next lint",
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"dependencies": {
Expand Down

0 comments on commit 9698722

Please sign in to comment.