diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e31eab5ea5..a1860717415 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,7 @@ on: - components/** - config/** - tailwind.config.js + - playwright.config.js - package.json - next.config.mjs - models/** @@ -58,6 +59,3 @@ jobs: run: npx playwright install chromium - name: run tests run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - - uses: test-summary/action@v2.0 - with: - paths: "results.xml" diff --git a/playwright.config.js b/playwright.config.js index 70eb698ecca..e46e20fcdb0 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -39,7 +39,7 @@ const config = { workers: 1, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI - ? [["junit", { outputFile: "results.xml" }], ["list"]] + ? "github" : "html", /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: {