feat(sheets-hyper-link-ui): add-hyper-link support server computing #6145
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: 🎭 Playwright Tests | |
on: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: ./.github/actions/setup-node | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install --with-deps chromium | |
- name: Build E2E Client | |
run: pnpm build:e2e | |
- name: Run Playwright Tests | |
run: pnpm exec playwright test --output=playwright-assets | |
- name: 🚀 Deploy to Vercel | |
uses: amondnet/vercel-action@v25 | |
if: failure() | |
id: vercel-e2e-report # we only need to upload to Vercel if this CI fails | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
vercel-org-id: ${{ secrets.ORG_ID }} | |
vercel-project-id: ${{ secrets.PROJECT_ID_E2E }} | |
- name: Write Playwright Report to PR Comment | |
uses: daun/playwright-report-summary@v3 | |
if: always() | |
with: | |
report-file: playwright-report.json | |
custom-info: 'For more information, [see full report](${{ steps.vercel-e2e-report.outputs.preview-url }})' | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: | | |
playwright-report/ | |
test-results/ | |
retention-days: 30 |