Skip to content

Commit 855f2ea

Browse files
💚 update browser-sdk CI workflow to use yarn github dependency
The rum-events-format submodule in browser-sdk was replaced with a yarn github dependency. The old step that checked out the submodule at the current SHA is replaced by `node scripts/json-schemas.ts --update <branch> --build`, which handles resolving and building the dependency directly.
1 parent e0bdc25 commit 855f2ea

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎.github/workflows/browser-sdk.yml‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,15 @@ jobs:
1717

1818
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
1919
with:
20-
node-version: 23
20+
node-version: 26
2121

2222
- name: Install dependencies
2323
run: yarn
2424

2525
- name: Update rum-events-format
26-
run: |
27-
cd rum-events-format
28-
git checkout ${{ github.sha }}
29-
cd ..
30-
yarn json-schemas:generate
26+
run: node scripts/json-schemas.ts --update ${{ github.sha }} --build
27+
env:
28+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
3129

3230
- name: Run ${{matrix.test_type}} tests
3331
run: eval $command_${{matrix.test_type}}

0 commit comments

Comments
 (0)