Skip to content

Commit 3ded810

Browse files
committed
chore: add playwright job summary
1 parent def3ccf commit 3ded810

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,21 @@ jobs:
9494
- name: Deploy
9595
id: deployment
9696
uses: actions/deploy-pages@v4
97+
- name: Output Job Summary
98+
run: |
99+
if [ "${{ github.event_name }}" == "pull_request" ]; then
100+
BRANCH=${{ github.head_ref }}
101+
else
102+
BRANCH=${{ github.ref_name }}
103+
fi
104+
echo "## 🚀 Playwright Test Run Summary 🚀">> $GITHUB_STEP_SUMMARY
105+
echo "✅ Deployed to GitHub Pages Successful!" >> $GITHUB_STEP_SUMMARY
106+
echo "" >> $GITHUB_STEP_SUMMARY
107+
echo "👤 **Triggered by**: @${{ github.actor }}" >> $GITHUB_STEP_SUMMARY
108+
echo "" >> $GITHUB_STEP_SUMMARY
109+
echo "### 📄 Commit Info" >> $GITHUB_STEP_SUMMARY
110+
echo "- **Branch**: $BRANCH" >> $GITHUB_STEP_SUMMARY
111+
echo "- **Commit SHA**: ${{ github.sha }}" >> $GITHUB_STEP_SUMMARY
112+
echo "" >> $GITHUB_STEP_SUMMARY
113+
echo "### 🔗 Links" >> $GITHUB_STEP_SUMMARY
114+
echo "- 🌐 [View Test Results](https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }})" >> $GITHUB_STEP_SUMMARY

knip.jsonc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
// TODO: need to fix issues before un-ignoring
1111
"packages/ui",
1212
// TODO: need to fix issues before un-ignoring
13-
"packages/go-ui-storybook"
13+
"packages/go-ui-storybook",
14+
// TODO: need to fix issues before un-ignoring
15+
"packages/e2e-tests"
1416
],
1517
"workspaces": {
1618
"app": {

0 commit comments

Comments
 (0)