[PANA-5245] Add Change types for stylesheets, media, and the visual v… #857
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, typecheck] | |
| 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 }} | |
| cd .. | |
| yarn json-schemas:generate | |
| - 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' | |
| command_build: 'yarn typecheck' |