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 77jobs :
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
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
You can’t perform that action at this time.
0 commit comments