chore(e2e): fix typos in time dimensions of report #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |