diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff19c428c5..61491abe36 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,6 +45,10 @@ jobs: type=semver,pattern={{major}} - name: Set up Buildx uses: docker/setup-buildx-action@v3 + # Only with correctly restored build cache layers, the run caches work as expected. + # To restore docker build layer caches, extend the docker-bake.hcl to use the cache-from and cache-to options. + # https://docs.docker.com/build/ci/github-actions/cache/ + # Alternatively, you can use a self-hosted runner or a third-party builder that restores build layer caches out-of-the-box, like https://depot.dev/ - name: Restore Run Caches uses: actions/cache/restore@v4 id: run-caches-restore diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a1255247ac..a0eb24c4a2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,8 +60,9 @@ pnpm test:acceptance:setup ### Quality Assurance -Use `make` commands to test the quality of your code without installing any dependencies besides Docker. +Use `make` commands to test the quality of your code against a production build without installing any dependencies besides Docker. Using `make` commands, you can reproduce and debug the CI pipelines locally. + ```sh # Reproduce the whole CI pipeline in docker make login-quality diff --git a/apps/login-test-acceptance/playwright.config.ts b/apps/login-test-acceptance/playwright.config.ts index d8961cb26d..ff1d434011 100644 --- a/apps/login-test-acceptance/playwright.config.ts +++ b/apps/login-test-acceptance/playwright.config.ts @@ -21,7 +21,10 @@ export default defineConfig({ timeout: 300 * 1000, // 5 minutes globalTimeout: 30 * 60_000, // 30 minutes /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: [["line"], ["html", { open: process.env.CI ? "never" : "on-failure", host: "0.0.0.0", outputFolder: "./playwright-report/html" }]], + reporter: [ + ["line"], + ["html", { open: process.env.CI ? "never" : "on-failure", host: "0.0.0.0", outputFolder: "./playwright-report/html" }], + ], /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */