Skip to content

feat(formula): add some engineering function (#2893) #2

feat(formula): add some engineering function (#2893)

feat(formula): add some engineering function (#2893) #2

Workflow file for this run

name: 🎭 Playwright Tests
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
e2e_test:
timeout-minutes: 10
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.head_ref }}
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
# build the example locally and run from the built files
- name: Build E2E Client
run: pnpm build:e2e
- name: Run Playwright Tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v3
if: failure() # only upload artifact when failed
with:
name: playwright-report
path: playwright-report/
retention-days: 30