fix: msw improvements #5133
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: 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 }} |