fix: centre scroll cue #62
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: | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
REDIS_URL: ${{ secrets.REDIS_URL }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: latest | |
- name: Check pnpm version | |
run: pnpm --version | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install Playwright Browsers | |
run: pnpm exec playwright install chromium | |
- name: Start Development Server in Background | |
run: | | |
nohup pnpm dev & | |
sleep 6 | |
- name: Run Tests | |
run: pnpm test | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: test-reports | |
path: | | |
playwright-report/ | |
test-report/ | |
retention-days: 7 |