From 4291bde79464ad9378f2ffe3c22352c58a4e1fad Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Thu, 7 Mar 2024 22:29:53 -0500 Subject: [PATCH] wip: add sudo --- .github/workflows/backstop-remote.yml | 2 +- _ci/backstop/backstop.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backstop-remote.yml b/.github/workflows/backstop-remote.yml index 661d7962b..287b7125c 100644 --- a/.github/workflows/backstop-remote.yml +++ b/.github/workflows/backstop-remote.yml @@ -48,4 +48,4 @@ jobs: - run: | cd _ci/backstop npx playwright install - ENV=$DEPLOY_ENV npm run remote.gh + ENV=$DEPLOY_ENV sudo npm run remote.gh diff --git a/_ci/backstop/backstop.config.js b/_ci/backstop/backstop.config.js index 5b825f016..20659a6d8 100644 --- a/_ci/backstop/backstop.config.js +++ b/_ci/backstop/backstop.config.js @@ -29,7 +29,7 @@ let captureLimit = 15; let compareLimit = 100; if (process.env.ENVIRONMENT.includes('gh-')) { - captureLimit = 6; + captureLimit = 10; compareLimit = 50; }