Skip to content

feat: move from CJS to ESM #5378

feat: move from CJS to ESM

feat: move from CJS to ESM #5378

name: Verify Browserstack
on: pull_request
jobs:
verify-browserstack:
timeout-minutes: 30
name: Verify Browserstack
# Run only from the original repository
# Because this job requires secrets, which cannot be shared with forks
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node 18
uses: actions/setup-node@v3
env:
FORCE_COLOR: 0
with:
node-version: '18'
cache: 'npm'
# Set up GitHub Actions caching for Wireit.
- uses: google/wireit@setup-github-actions-caching/v1
- name: Install Dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Test
run: |
cd packages/test-runner-browserstack
npm run test
env:
BROWSER_STACK_ACCESS_KEY: ${{ secrets.BROWSER_STACK_ACCESS_KEY }}
BROWSER_STACK_USERNAME: ${{ secrets.BROWSER_STACK_USERNAME }}