Files
huike-e2e-moicen/.gitea/workflows/playwright-music-room.yml
T
weli ac30a17697
music-room Playwright / playwright (push) Failing after 17s
fix variable syntax
2026-05-03 10:49:14 +08:00

32 lines
689 B
YAML

name: music-room Playwright
on:
push:
branches: [master, main]
workflow_dispatch:
jobs:
playwright:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout repo
run: |
mkdir -p /work
cd /work
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git .
git checkout ${{ github.sha }}
- name: Install deps & Chromium
run: |
cd /work
npm ci
npx playwright install chromium --with-deps
- name: Playwright tests
env:
MOICEN_E2E_UNIONID: ${{ secrets.MOICEN_E2E_UNIONID }}
run: |
cd /work
npx playwright test