Skip to content

Commit

Permalink
Merge pull request #1685 from visualize-admin/feat/varnish
Browse files Browse the repository at this point in the history
Fix varnish cache priming
  • Loading branch information
ptbrowne authored Aug 13, 2024
2 parents a4d3f94 + 4c94338 commit b68f19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preload-varnish-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run Playwright test to preload Varnish cache
run: ./node_modules/.bin/ts-node e2e/varnish-cache-preload.ts
run: ./node_modules/.bin/ts-node ./e2e/varnish-cache-preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const preloadChart = async (page: Page, locale: string, key: string) => {

const openNewPage = async () => {
const browser = await chromium.launch({
headless: false,
headless: process.env.CI === "true",
});
const context = await browser.newContext();
const page = await context.newPage();
Expand Down

0 comments on commit b68f19c

Please sign in to comment.