Skip to content

Commit

Permalink
wip(backstop): add pm2 as backstop remote runner on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 14, 2024
1 parent 204215d commit 4d8eda4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/backstop-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ jobs:
- name: ↧ Install Dependencies
run: cd _ci/backstop && pnpm install && npx playwright install --with-deps

- name: "Running Remote {ಠʖಠ}"
id: backstop
continue-on-error: true
run: cd _ci/backstop && npx pm2 start "ENV=$DEPLOY_ENV pnpm remote.gh"

- name: Run ngrok
uses: apogiatzis/ngrok-tunneling[email protected].4
uses: LuisBoto/ngrok-tunnel[email protected].7.2
with:
timeout: 1h
port: 3000
ngrok_authtoken: ${{ secrets.NGROK_AUTHTOKEN }}

- name: "Running Remote {ಠʖಠ}"
id: backstop
continue-on-error: true
run: cd _ci/backstop && ENV=$DEPLOY_ENV pnpm remote.gh
tunnel_type: http
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4d8eda4

Please sign in to comment.