@@ -1,4 +1,4 @@
|
||||
name: music-room Playwright
|
||||
name: Test CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -6,22 +6,10 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
playwright:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
run: |
|
||||
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git /work
|
||||
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
|
||||
- run: echo "hello world"
|
||||
- run: uname -a
|
||||
- run: id
|
||||
|
||||
Reference in New Issue
Block a user