diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index e393fd6e75d..94c189c63e7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -31,6 +31,12 @@ jobs: sudo mv /usr/bin/mandb /usr/bin/mandb-OFF sudo cp -p /bin/true /usr/bin/mandb + - name: Cache Playwright browsers + uses: actions/cache@v4 + with: + path: ~/.cache/ms-playwright + key: playwright-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} + - name: Install Playwright Browsers run: pnpm playwright install --with-deps chromium working-directory: ./dotcom-rendering diff --git a/README.md b/README.md index ad9bdc74f94..fc2b01d0695 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,5 @@ Most commands are run from within the dotcom-rendering project but the following ### Storybook `pnpm storybook` - Runs Storybook for all projects + `pnpm build-storybook` - Builds Storybook for all projects diff --git a/dotcom-rendering/Containerfile b/dotcom-rendering/Containerfile index b068323d4d4..84dee4a082d 100644 --- a/dotcom-rendering/Containerfile +++ b/dotcom-rendering/Containerfile @@ -1,6 +1,6 @@ # This container is used in our CICD pipelines for running E2E and regression tests. # Keep the Node version in sync with `.nvmrc` -FROM node:24 +FROM node:24-slim WORKDIR /opt/app/dotcom-rendering/dotcom-rendering