Skip to content

Commit

Permalink
Fix bs action
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Oct 12, 2023
1 parent 971c93c commit 5d932c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Browserstack
on:
merge_group:
workflow_dispatch:
pull_request_target:
pull_request:
types:
- opened
- synchronize
Expand All @@ -15,7 +15,7 @@ permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

env:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
NODE_ENV: development

- shell: bash
run: npx start-server-and-test 'start:example-local' http://localhost:3000
run: npx start-server-and-test "start:example-local" http://localhost:3000 "browserstack-cypress run --build-name ${{ github.event.pull_request.head.sha || github.ref }} --no-wrap"
env:
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}

0 comments on commit 5d932c7

Please sign in to comment.