Skip to content

Commit be86749

Browse files
committed
feat: github action run the e2e
1 parent d19589f commit be86749

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,7 @@ jobs:
4848
echo "Build completed successfully"
4949
5050
- name: 🚀 Start app in background on port 3333
51-
env:
52-
ZITADEL_URL: ${{ secrets.ZITADEL_URL }}
53-
ZITADEL_SERVICE_USER_ID: ${{ secrets.ZITADEL_SERVICE_USER_ID }}
54-
ZITADEL_SERVICE_USER_TOKEN: ${{ secrets.ZITADEL_SERVICE_USER_TOKEN }}
5551
run: |
56-
set -e
57-
echo "Creating .env file..."
58-
echo "ZITADEL_URL=$ZITADEL_URL" >> .env
59-
echo "ZITADEL_SERVICE_USER_ID=$ZITADEL_SERVICE_USER_ID" >> .env
60-
echo "ZITADEL_SERVICE_USER_TOKEN=$ZITADEL_SERVICE_USER_TOKEN" >> .env
6152
PORT=3333 yarn start &
6253
echo "Deployment completed successfully"
6354
@@ -66,3 +57,11 @@ jobs:
6657

6758
- name: ✅ Run Playwright E2E tests
6859
run: cd e2e && yarn test && cd ..
60+
61+
- name: 📦 Upload Playwright report
62+
uses: actions/upload-artifact@v4
63+
if: ${{ !cancelled() }}
64+
with:
65+
name: playwright-report
66+
path: playwright-report/
67+
retention-days: 30

0 commit comments

Comments
 (0)