Skip to content

build(deps-dev): bump eslint-config-next in /backend #546

build(deps-dev): bump eslint-config-next in /backend

build(deps-dev): bump eslint-config-next in /backend #546

name: Backend Playwright Tests
on:
push:
branches: [main, master]
paths:
- backend/**
pull_request:
branches: [main, master]
paths:
- backend/**
env:
TSUNDOKU_BACKEND_APPWRITE_ENDPOINT: https://appwrite.tsundoku.ericswpark.com/v1
TSUNDOKU_BACKEND_APPWRITE_PROJECT_ID: 65ccf0b6d76765229231
TSUNDOKU_BACKEND_APPWRITE_API_KEY: 517be4d03aaf8b9b5343366645c1286e438d1bfd028d2f08fd5979975e574f1c21083757dc3d74fa7761c4c0feed40e8e323fa7bf119d98951e0a960151d5fa065bc154c5a1dc7e706efccf821914ac7a4151cca370be0a6648d98f799ff1ab63ecc00989ebbbc478699063b72722d2b8b22673c369d1927e9cd0d0e569c2752
TSUNDOKU_BACKEND_APPWRITE_MAIN_DB_ID: 65ce2a55036051cbf5fb
TSUNDOKU_BACKEND_APPWRITE_BOOK_COL_ID: 65ce2a5a8bea7335ef01
TSUNDOKU_BACKEND_APPWRITE_AUTHOR_COL_ID: 65ce2aa3affa7165ee7b
TSUNDOKU_BACKEND_APPWRITE_EDITION_COL_ID: 65ce394edd6d6603ac1e
TSUNDOKU_BACKEND_APPWRITE_BOOKSTATUS_COL_ID: 65da112a731dfc9bc51f
TSUNDOKU_BACKEND_APPWRITE_REVIEW_COL_ID: 65da5ff3979f452f63d8
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
cache-dependency-path: ./backend
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30