fix #16, release v1.5.0 #185
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] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Vitest | |
run: pnpm test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Run playwright ct tests | |
run: pnpm test:ct | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: playwright-report | |
path: playwright-report | |
- name: Run playwright rtl tests | |
run: pnpm test:ct:rtl | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: playwright-rtl-report | |
path: playwright-rrl-report |