Skip to content

Commit

Permalink
chore: add SESSION_SECRET as env var for turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
dcshzj committed Jun 26, 2024
1 parent 03620e4 commit be3c954
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Specific environment variables when running tests
# Make sure to sync this file with turbo.json so that CI can pass
NODE_ENV=test
DATABASE_URL=postgres://root:root@localhost:5432/test
SESSION_SECRET=random_session_secret_that_is_at_least_32_characters
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
],
"globalEnv": [
"NODE_ENV",
"DATABASE_URL"
"DATABASE_URL",
"SESSION_SECRET"
],
"tasks": {
"build": {
Expand Down

0 comments on commit be3c954

Please sign in to comment.