Compare commits
2 Commits
1c0570d1a8
...
f51b646430
| Author | SHA1 | Date | |
|---|---|---|---|
| f51b646430 | |||
| f3799a26b6 |
7
.github/workflows/playwright.yml
vendored
7
.github/workflows/playwright.yml
vendored
@ -21,7 +21,10 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm install -g pnpm && pnpm install
|
||||
- name: Build the service that will be tested
|
||||
run: pnpm run build
|
||||
run: |
|
||||
pnpm run build
|
||||
cp -r public .next/standalone/
|
||||
cp -r .next/static .next/standalone/.next/
|
||||
- name: Install Playwright Browsers
|
||||
run: pnpm exec playwright install --with-deps
|
||||
- name: Run the service that will be tested
|
||||
@ -29,4 +32,4 @@ jobs:
|
||||
- name: Wait for the service to be ready
|
||||
run: npx wait-on http://127.0.0.1:3000/default/ --timeout 30000
|
||||
- name: Run Playwright tests
|
||||
run: DEBUG=pw:api pnpm exec playwright test
|
||||
run: pnpm exec playwright test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user