Skip to content

Commit

Permalink
wip: add ngrok-ssh to backstop remote workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Mar 8, 2024
1 parent 3923058 commit 775466c
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/backstop-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,8 @@ jobs:
.github/actions
_ci
- name: 🛢 Install Dependencies
uses: ./.github/actions/install-cache-deps
- uses: tmshkr/ngrok-ssh@latest
with:
WORKSPACE_ROOT: _ci

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

# TODO: https://github.com/tmshkr/ngrok-ssh
# TODO: https://github.com/tmshkr/ngrok-ssh-example/blob/main/.github/workflows/debug.yml
- name: Run ngrok
uses: LuisBoto/[email protected]
with:
timeout: 1h
port: 3000
ngrok_authtoken: ${{ secrets.NGROK_AUTHTOKEN }}
tunnel_type: http
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
NGROK_CONFIG_FILE: "ngrok.yml"
- run: cd _ci/backstop && ENV=$DEPLOY_ENV pnpm test.gh

0 comments on commit 775466c

Please sign in to comment.