diff --git a/.github/workflows/backstop-remote.yml b/.github/workflows/backstop-remote.yml index 8f9c487d..bad23aa6 100644 --- a/.github/workflows/backstop-remote.yml +++ b/.github/workflows/backstop-remote.yml @@ -52,6 +52,5 @@ jobs: NGROK_CONFIG_FILE: ".github/.config/.ngrok.yml" - run: | cd _ci/backstop + npx playwright install ENV=$DEPLOY_ENV npm run remote.gh - - # pnpx playwright install diff --git a/_ci/backstop/package.json b/_ci/backstop/package.json index 555deffd..f0a38ab3 100644 --- a/_ci/backstop/package.json +++ b/_ci/backstop/package.json @@ -13,7 +13,7 @@ "ref": "ENVIRONMENT=\"$ENV\" backstop reference --config=backstop.config.js", "ref.gh": "ENVIRONMENT=gh-\"$ENV\" backstop reference --config=backstop.config.js", "remote": "npx playwright install && ENVIRONMENT=\"$ENV\" backstop remote --config=backstop.config.js", - "remote.gh": "npx playwright install && ENVIRONMENT=\"$ENV\" backstop test --config=backstop.config.js", + "remote.gh": "ENVIRONMENT=\"$ENV\" backstop remote --config=backstop.config.js", "serve": "http-server -b -S -p 443 -a local.dgrebb.com -C ../../front/local.dgrebb.com.crt -K ../../front/local.dgrebb.com.key --cors='*' ../../front/build", "start": "ENVIRONMENT=\"$ENV\" pm2 start ecosystem.config.js && pm2 monit", "stop": "pm2 stop backstop && pm2 delete backstop && kill -9 $( lsof -i:3000 -t )",