Skip to content

chore(e2e): fix image url in public report #12

chore(e2e): fix image url in public report

chore(e2e): fix image url in public report #12

Workflow file for this run

name: Automation Testing (Draft)
on:
push:
branches: [ main, main-beta, epic/* ]
workflow_dispatch:
env:
node-version: 20.x
DIFF_REPORT_BRANCH: diff-report
permissions:
contents: write
pages: none
deployments: none
pull-requests: write
jobs:
e2e-tests:
name: Automation Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node v${{ env.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ env.node-version }}
- name: Install NPM Dependencies
run: npm ci
- name: Run Tests
run: npm run test:e2e
- name: Collect Report & Upload artifact
if: failure()
uses: actions/upload-artifact@v4
with:
name: automation-diff-report
path: e2e/.diff
- name: Deploy latest report to branch
if: failure()
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: e2e/.diff
publish_branch: ${{ env.DIFF_REPORT_BRANCH }}
- name: Render Report
if: always()
shell: bash
run: |
cat e2e/.diff/index.md >> $GITHUB_STEP_SUMMARY