Skip to content

Commit 6cdbd05

Browse files
committed
update release workflow env vars for testing
1 parent c671828 commit 6cdbd05

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/release-package.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ on:
77
jobs:
88
test:
99
runs-on: ubuntu-22.04
10+
env:
11+
##########################################################################
12+
# App Config
13+
##########################################################################
14+
NEXT_PUBLIC_URL: "http://localhost:3000"
15+
DATABASE_URI: "file:./payload-oauth2.db"
16+
PAYLOAD_SECRET: "hellohereisasecretforyou"
17+
18+
##########################################################################
19+
# Google OAuth Config
20+
##########################################################################
21+
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
22+
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
23+
24+
##########################################################################
25+
# Test Config
26+
##########################################################################
27+
# Optional: Set to "true" to run test browser in headless mode
28+
HEADLESS: true
29+
30+
##########################################################################
31+
# Google Test Account
32+
##########################################################################
33+
# Required: Google Test Account Email
34+
GOOGLE_TEST_EMAIL: ${{ secrets.GOOGLE_TEST_EMAIL }}
35+
36+
# Required: Google Test Account Password
37+
GOOGLE_TEST_PASSWORD: ${{ secrets.GOOGLE_TEST_PASSWORD }}
1038
steps:
1139
- uses: actions/checkout@v4
1240
- uses: pnpm/action-setup@v2
@@ -23,7 +51,7 @@ jobs:
2351
run: |
2452
for i in {1..3}; do
2553
echo "Attempt $i"
26-
if pnpm test:google; then
54+
if pnpm test; then
2755
echo "Success on attempt $i"
2856
exit 0
2957
fi

0 commit comments

Comments
 (0)