Skip to content

disable mobile BrowserStack tests on PRs #7

disable mobile BrowserStack tests on PRs

disable mobile BrowserStack tests on PRs #7

name: 'BrowserStack iOS Mobile Test'
on: [push, workflow_dispatch]
jobs:
browserstack-iOS-test:
name: 'BrowserStack iOS Mobile Test'
runs-on: ubuntu-latest
steps:
- name: 'BrowserStack Env Setup'
uses: browserstack/github-actions/setup-env@master
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
- name: 'BrowserStack Local Tunnel Setup'
uses: browserstack/github-actions/setup-local@master
with:
local-testing: start
local-identifier: random
- name: 'Checkout the repository'
uses: actions/checkout@v3
- name: 'Run NPM CI'
run: npm ci
- name: Run Build IIFE
run: npm run build:iife
- name: 'Run NPM build test bundle'
run: npm run build:test-bundle
- name: 'Run Browserstack iOS Mobile Tests'
run: npm run test:browserstack-iOS
- name: 'BrowserStackLocal Stop'
uses: browserstack/github-actions/setup-local@master
with:
local-testing: stop