Skip to content

Commit 5ceb1f4

Browse files
authored
chore: Update changed package paths (#12954)
I noticed these while working on the cloudflare sdk. - update browser path to use new replay packages We were previously referencing `packages/replay`, which does not exist anymore. This updates us to use the correct paths. - add vercel-edge to nextjs The nextjs sdk depends on vercel-edge, so we should be running tests for it when that package changes. - remove browser from deno The deno sdk no longer relies on the browser sdk, this updates the paths accordingly - add bun section We can be smarter about CI time and only run bun tests when relevant package paths change.
1 parent e710f3b commit 5ceb1f4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ jobs:
105105
- *shared
106106
- 'packages/browser/**'
107107
- 'packages/browser-utils/**'
108-
- 'packages/replay/**'
108+
- 'packages/replay-internal/**'
109+
- 'packages/replay-worker/**'
109110
- 'packages/replay-canvas/**'
110111
- 'packages/feedback/**'
111112
- 'packages/wasm/**'
@@ -131,6 +132,7 @@ jobs:
131132
- *node
132133
- 'packages/nextjs/**'
133134
- 'packages/react/**'
135+
- 'packages/vercel-edge/**'
134136
remix:
135137
- *shared
136138
- *browser
@@ -147,8 +149,10 @@ jobs:
147149
- 'dev-packages/e2e-tests/test-applications/node-profiling/**'
148150
deno:
149151
- *shared
150-
- *browser
151152
- 'packages/deno/**'
153+
bun:
154+
- *shared
155+
- 'packages/bun/**'
152156
any_code:
153157
- '!**/*.md'
154158
@@ -166,6 +170,7 @@ jobs:
166170
changed_profiling_node: ${{ steps.changed.outputs.profiling_node }}
167171
changed_profiling_node_bindings: ${{ steps.changed.outputs.profiling_node_bindings }}
168172
changed_deno: ${{ steps.changed.outputs.deno }}
173+
changed_bun: ${{ steps.changed.outputs.bun }}
169174
changed_browser: ${{ steps.changed.outputs.browser }}
170175
changed_browser_integration: ${{ steps.changed.outputs.browser_integration }}
171176
changed_any_code: ${{ steps.changed.outputs.any_code }}
@@ -451,6 +456,7 @@ jobs:
451456
job_bun_unit_tests:
452457
name: Bun Unit Tests
453458
needs: [job_get_metadata, job_build]
459+
if: needs.job_get_metadata.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
454460
timeout-minutes: 10
455461
runs-on: ubuntu-20.04
456462
strategy:

0 commit comments

Comments
 (0)