chore: bump deps (#849) #2280
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: E2E Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
redis-cluster: | |
image: grokzen/redis-cluster:6.2.14 | |
ports: | |
- 7006:7000 | |
- 7001:7001 | |
- 7002:7002 | |
- 7003:7003 | |
- 7004:7004 | |
- 7005:7005 | |
strategy: | |
matrix: | |
node-version: [lts/*] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Setup dev.db | |
run: | | |
pnpm prisma generate | |
pnpm prisma db push | |
working-directory: tests/e2e | |
- name: Install Playwright | |
run: pnpm dlx playwright install chromium | |
- name: Test | |
run: pnpm test:packages | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: tests/e2e/playwright-report | |
retention-days: 14 |