Skip to content

Running Backstop Remote #10

Running Backstop Remote

Running Backstop Remote #10

Workflow file for this run

name: Backstop Remote
run-name: Running Backstop Remote
on:
workflow_dispatch:
permissions:
checks: write
contents: write
pull-requests: write
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
NODE_VERSION: 20
jobs:
backstop:
name: 📱 BackstopJS
runs-on: ubuntu-latest
environment:
name: ${{ inputs.env }}
env:
DEPLOY_ENV: ${{ inputs.env }}
steps:
- name: 𐂷 Checkout
uses: actions/checkout@v4
with:
repository: dgrebb/dgrebb.com
ref: ${{ github.ref }}
token: ${{ github.token }}
fetch-depth: 1
sparse-checkout: |
.github
_ci
- uses: dgrebb/ngrok-ssh@main
with:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
NGROK_CONFIG_FILE: ".github/.config/.ngrok.yml"
- run: cd _ci/backstop && ENV=$DEPLOY_ENV pnpm test.gh