Skip to content
name: Install deps and connect to browserstack
on: workflow_call
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: |
npm ci

Check failure on line 19 in .github/workflows/call-run-browserstack.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/call-run-browserstack.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
echo ${{ secrets.BROWSERSTACK_USERNAME }}
echo ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
- name: 'BrowserStack Env Setup'
uses: 'browserstack/github-actions/setup-env@master'
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
build-name: ia-e2e
project-name: e2e-playwright
- name: Connect to browserstack
run: npm run test:browserstack-node-sdk