diff --git a/.gitea/workflows/playwright-music-room.yml b/.gitea/workflows/playwright-music-room.yml new file mode 100644 index 0000000..c2642a2 --- /dev/null +++ b/.gitea/workflows/playwright-music-room.yml @@ -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