chore(deps-dev): bump @typescript-eslint/parser from 4.33.0 to 8.8.1 #1319
Workflow file for this run
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 Test" | |
on: push | |
jobs: | |
ubuntu-job: | |
name: "BrowserStack Test on Ubuntu" | |
runs-on: ubuntu-latest # Can be self-hosted runner also | |
timeout-minutes: 15 | |
steps: | |
- name: "BrowserStack Env Setup" # Invokes the setup-env action | |
uses: browserstack/github-actions/setup-env@master | |
with: | |
username: ${{ secrets.BROWSERSTACK_USERNAME }} | |
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
- name: "BrowserStack Local Tunnel Setup" # Invokes the setup-local action | |
uses: browserstack/github-actions/setup-local@master | |
with: | |
local-testing: start | |
local-identifier: random | |
local-logging-level: all-logs | |
# The next 3 steps are for building the web application to be tested and starting the web server on the runner environment | |
- name: "Checkout the repository" | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: "Building web application to be tested" | |
run: npm ci | |
- run: npm run build:example | |
- name: "Running application under test" | |
run: npx http-server -p 8080 -a bs-local.com --proxy "http://bs-local.com:8080?" dist & | |
- run: sleep 10 | |
- name: "Running test on BrowserStack" # Invokes the actual test script that would run on BrowserStack browsers | |
run: TARGET_URL=http://bs-local.com:8080/ npm run test:e2e | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
- name: Stop Local Testing | |
if: always() | |
uses: browserstack/github-actions/setup-local@master | |
with: | |
local-testing: stop |