feat(conform-react): integrate report helper in submission #691
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
- next | |
pull_request: | |
branches: | |
- main | |
- next | |
jobs: | |
e2e: | |
name: 🔍 E2E Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: 📥 Download deps | |
uses: bahmutov/npm-install@v1 | |
- name: 🎭 Install Playwright | |
run: npx playwright install --with-deps | |
- name: 📦 Build the packages | |
run: npm run build | |
- name: 💣 Run playwright tests | |
run: npm run test | |
- uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |