[mq] working branch - merge 772038eae4 on top of master at 6f8ce515cb #767
Workflow file for this run
This file contains hidden or 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: browser-sdk | |
on: | |
push: | |
jobs: | |
browser-sdk-test: | |
strategy: | |
matrix: | |
test_type: [unit, e2e] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
repository: 'DataDog/browser-sdk' | |
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a | |
with: | |
node-version: 23 | |
- name: Install dependencies | |
run: yarn | |
- name: Update rum-events-format | |
run: | | |
cd rum-events-format | |
git checkout ${{ github.sha }} | |
- name: Run ${{matrix.test_type}} tests | |
run: eval $command_${{matrix.test_type}} | |
env: | |
command_unit: 'yarn test:unit' | |
command_e2e: 'yarn test:e2e:ci --workers 10' |