From 8247c526b077f9e378048956803876a47ed2566b Mon Sep 17 00:00:00 2001 From: Josh Vlk Date: Sun, 13 Sep 2026 10:33:26 -0400 Subject: [PATCH] ci(guide): run browser tests explicitly Expose the Playwright container browser cache and split guide Vitest into its own CI step. --- .github/workflows/pull-request.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0b8898d82..a6e1ba14b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -38,6 +38,9 @@ jobs: container: # Keep this image tag aligned with package.json's playwright version. image: mcr.microsoft.com/playwright:v1.59.1-noble + env: + # The pinned Playwright image provides Chromium from this browser cache. + PLAYWRIGHT_BROWSERS_PATH: /ms-playwright steps: - name: Checkout uses: actions/checkout@v6.0.2 @@ -52,8 +55,10 @@ jobs: run: yarn - name: Build ReScript run: yarn build:res - - name: Vitest - run: yarn ci:test + - name: Docs Vitest + run: yarn workspace @rescript-lang/docs ci:test + - name: Guide Vitest + run: yarn workspace @rescript-lang/guide ci:test Visual_Regression: runs-on: ubuntu-latest container: