Browserstack extended tests (mobile) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Browserstack extended tests (mobile) | |
on: | |
workflow_run: | |
workflows: [ "Publish" ] | |
types: | |
- completed | |
env: | |
AWS_REGION: eu-west-2 | |
AWS_ACCOUNT_ID: "094954420758" | |
concurrency: | |
group: browserstack-extended-tests-mobile | |
jobs: | |
build: | |
name: CDP-build-workflow | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start docker compose | |
run: | | |
docker compose up --wait-timeout 300 -d --quiet-pull | |
- name: Browserstack tests | |
run: | | |
npm ci | |
npm run user-journey-test:bs-extended-mobile | |
env: | |
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }} | |
BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }} | |
- name: cleanup | |
if: always() | |
run: docker compose down |