File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
test :
9
9
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 }}
10
38
steps :
11
39
- uses : actions/checkout@v4
12
40
- uses : pnpm/action-setup@v2
23
51
run : |
24
52
for i in {1..3}; do
25
53
echo "Attempt $i"
26
- if pnpm test:google ; then
54
+ if pnpm test; then
27
55
echo "Success on attempt $i"
28
56
exit 0
29
57
fi
You can’t perform that action at this time.
0 commit comments