add Gitea Actions workflow for Playwright E2E
music-room Playwright / playwright (push) Failing after 42s
music-room Playwright / playwright (push) Failing after 42s
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: music-room Playwright
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
playwright:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install deps & Chromium
|
||||
run: |
|
||||
npm ci
|
||||
npx playwright install chromium --with-deps
|
||||
|
||||
- name: Playwright tests
|
||||
env:
|
||||
MOICEN_E2E_UNIONID: ${{ secrets.MOICEN_E2E_UNIONID }}
|
||||
run: npx playwright test
|
||||
Reference in New Issue
Block a user