@@ -1,4 +1,4 @@
|
|||||||
name: music-room Playwright
|
name: Test CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -6,22 +6,10 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
playwright:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 45
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- run: echo "hello world"
|
||||||
run: |
|
- run: uname -a
|
||||||
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git /work
|
- run: id
|
||||||
cd /work
|
|
||||||
|
|
||||||
- name: Install deps & Chromium
|
|
||||||
run: |
|
|
||||||
cd /work
|
|
||||||
npm ci
|
|
||||||
npx playwright install chromium --with-deps
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
cd /work
|
|
||||||
npx playwright test
|
|
||||||
|
|||||||
Reference in New Issue
Block a user