fix(ci): correct path for renders

This commit is contained in:
lowlighter
2022-01-18 12:46:03 -05:00
parent 81acbe19eb
commit d7a3479fc2
6 changed files with 14 additions and 12 deletions

View File

@@ -17,5 +17,5 @@ const clip = await page.evaluate(() => {
const { x, y, width, height } = document.querySelector("#readme").getBoundingClientRect()
return { x, y, width, height }
})
await page.screenshot({ type: "png", path: "metrics.markdown.png", clip, omitBackground: true })
await page.screenshot({ type: "png", path: "/tmp/metrics.markdown.png", clip, omitBackground: true })
await browser.close()