Skip to content

Try full site URL

Try full site URL #95

Workflow file for this run

name: End-to-End Tests
on:
pull_request:
branches:
- main
paths:
- 'rfm/**'
env:
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}}
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
working-directory: rfm
run: npm ci
- name: Install Playwright Browsers
working-directory: rfm
run: npx playwright install --with-deps
- name: Run Playwright tests
working-directory: rfm
run: npx playwright test
env:
PLAYWRIGHT_TEST_BASE_URL: "https://deploy-preview-${{env.GITHUB_PR_NUMBER}}--rawfunkmaharishi.netlify.app"
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30