Skip to content

Commit c511315

Browse files
committed
fix(workflow): update Playwright test environment variables and artifact upload step
1 parent 75f87db commit c511315

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/test-e2e.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,16 @@ jobs:
8080
run: npx playwright test
8181
working-directory: tests
8282
env:
83+
PLAYWRIGHT_SERVICE_URL: ${{ secrets.PLAYWRIGHT_SERVICE_URL }}
8384
STORE_ADMIN_URL: ${{ steps.kubectl_get_service.outputs.STORE_ADMIN_IP }}
8485
STORE_FRONT_URL: ${{ steps.kubectl_get_service.outputs.STORE_FRONT_IP }}
86+
CI: true
8587

86-
- uses: actions/upload-artifact@v3
87-
if: always()
88+
- uses: actions/upload-artifact@v4
89+
if: ${{ !cancelled() }}
8890
with:
89-
name: playwright-report-store-admin
90-
path: tests/playwright-report
91+
name: playwright-report
92+
path: tests/playwright-report/
9193
retention-days: 30
9294

9395
- name: Destroy environment

0 commit comments

Comments
 (0)