Skip to content

Commit

Permalink
💚 Add missing test env var
Browse files Browse the repository at this point in the history
  • Loading branch information
homostellaris committed Apr 24, 2024
1 parent 4faba2e commit 0f3239b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FAUNADB_DOMAIN=localhost
FAUNADB_PORT=8443
FAUNADB_SCHEME=http
FAUNADB_SERVER_SECRET=fake-server-secret
FAUNADB_SERVER_SECRET=secret
FAUNADB_INVITEE_SECRET=fake-invitee-secret
FAUNADB_HOST_MANAGER_SECRET=fake-host-manager-secret
VAPID_PUBLIC_KEY=fake-vapid-public-key
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- run: npm ci
- run: cp .env.template .env
- run: cat .env >> $GITHUB_ENV
- run: npm run --silent db:init | jq '.[-1].secret' | awk '{print "FAUNADB_INVITEE_SECRET="$1}' >> .env
- run: npm run --silent db:init > .db-init.log
- run: cat .db-init.log | jq '.[4].secret' | awk '{print "FAUNADB_INVITEE_SECRET="$1}' >> .env
- run: cat .db-init.log | jq '.[6].secret' | awk '{print "FAUNADB_HOST_MANAGER_SECRET="$1}' >> .env
- run: npx web-push generate-vapid-keys --json | jq '.publicKey' | awk '{print "VAPID_PUBLIC_KEY="$1}' >> .env
- run: npx web-push generate-vapid-keys --json | jq '.privateKey' | awk '{print "VAPID_PRIVATE_KEY="$1}' >> .env
- run: cat .env
Expand Down

0 comments on commit 0f3239b

Please sign in to comment.