Skip to content

chore: Introduce Common Open Source Tooling into Codebase to Increase Productivity and Developer Experience #6

chore: Introduce Common Open Source Tooling into Codebase to Increase Productivity and Developer Experience

chore: Introduce Common Open Source Tooling into Codebase to Increase Productivity and Developer Experience #6

Workflow file for this run

name: End-to-End Tests
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: πŸ›ŽοΈ Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0 # All history for branches and tags
- name: 🍞 Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: πŸ“‚ Install Dependencies
run: bun install
- name: 🎭 Install Playwright Browsers
run: bun playwright install --with-deps
- name: πŸ’€ Run E2E tests
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
run: bun playwright test
- name: πŸ“„ Upload Artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: πŸ’° Profit
run: echo 🐞