This commit is contained in:
@@ -12,10 +12,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /work
|
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git /work
|
||||||
cd /work
|
cd /work
|
||||||
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git .
|
|
||||||
git checkout ${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Install deps & Chromium
|
- name: Install deps & Chromium
|
||||||
run: |
|
run: |
|
||||||
@@ -23,9 +21,7 @@ jobs:
|
|||||||
npm ci
|
npm ci
|
||||||
npx playwright install chromium --with-deps
|
npx playwright install chromium --with-deps
|
||||||
|
|
||||||
- name: Playwright tests
|
- name: Run tests
|
||||||
env:
|
|
||||||
MOICEN_E2E_UNIONID: ${{ secrets.MOICEN_E2E_UNIONID }}
|
|
||||||
run: |
|
run: |
|
||||||
cd /work
|
cd /work
|
||||||
npx playwright test
|
npx playwright test
|
||||||
|
|||||||
Reference in New Issue
Block a user