Skip to content

Export EventEmitter so we can use it in other SDKs #1839

Export EventEmitter so we can use it in other SDKs

Export EventEmitter so we can use it in other SDKs #1839

Workflow file for this run

name: Test browser
on:
pull_request:
push:
branches:
- main
jobs:
test-browser:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x
- run: npm ci
- name: Install Playwright browsers and dependencies
run: npx playwright install --with-deps
- env:
PLAYWRIGHT_BROWSER: ${{ matrix.browser }}
run: npm run test:playwright
- name: Upload test results
if: always()
uses: ably/test-observability-action@v1
with:
server-auth: ${{ secrets.TEST_OBSERVABILITY_SERVER_AUTH_KEY }}
path: './junit'