Skip to content

Commit 94c36d3

Browse files
committed
Update ci
1 parent 2754a31 commit 94c36d3

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,22 @@ jobs:
2323
steps:
2424
- uses: wyvox/action@v1
2525
- run: pnpm lint
26+
27+
e2e:
28+
name: "E2E"
29+
runs-on: ubuntu-latest
30+
timeout-minutes: 15
31+
32+
steps:
33+
- uses: wyvox/action@v1
34+
- name: Install Playwright browser
35+
run: pnpm --filter docs-for-ember-astro exec playwright install --with-deps chromium
36+
- name: Run e2e tests
37+
run: pnpm --filter docs-for-ember-astro test:e2e
38+
- name: Upload report
39+
if: ${{ !cancelled() }}
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: playwright-report
43+
path: docs/playwright-report/
44+
retention-days: 7

docs/playwright.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export default defineConfig({
1313
fullyParallel: true,
1414
forbidOnly: !!process.env.CI,
1515
retries: process.env.CI ? 2 : 0,
16-
reporter: process.env.CI ? "github" : "list",
16+
reporter: process.env.CI
17+
? [["github"], ["html", { open: "never" }]]
18+
: "list",
1719
use: {
1820
baseURL: `http://localhost:${PORT}`,
1921
trace: "on-first-retry",

0 commit comments

Comments
 (0)