Skip to content

Commit

Permalink
wip(github): sets up backstop remote through docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 14, 2024
1 parent 871991b commit 3b9be5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _ci/backstop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "ENVIRONMENT=\"$ENV\" backstop remote --config=backstop.config.js",
"remote.gh": "docker pull backstopjs/backstopjs && docker run -p 3000:3000 --platform linux/arm64 --rm -it -e ENVIRONMENT=\"$ENV\" --mount type=bind,source=\"$(pwd)\",target=/src backstopjs/backstopjs remote --config=backstop.config.js -d",
"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 )",
Expand Down

0 comments on commit 3b9be5c

Please sign in to comment.