@@ -172,6 +172,9 @@ jobs:
172172 changed_bun_integration :
173173 ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
174174 ' @sentry-internal/bun-integration-tests' ) }}
175+ changed_deno_integration :
176+ ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
177+ ' @sentry-internal/deno-integration-tests' ) }}
175178 changed_browser_integration :
176179 ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
177180 ' @sentry-internal/browser-integration-tests' ) }}
@@ -966,6 +969,36 @@ jobs:
966969 working-directory : dev-packages/bun-integration-tests
967970 run : yarn test
968971
972+ job_deno_integration_tests :
973+ name : Deno Integration Tests
974+ needs : [job_get_metadata, job_build]
975+ if : needs.job_build.outputs.changed_deno_integration == 'true' || github.event_name != 'pull_request'
976+ runs-on : ubuntu-24.04
977+ timeout-minutes : 15
978+ steps :
979+ - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
980+ uses : actions/checkout@v6
981+ with :
982+ ref : ${{ env.HEAD_COMMIT }}
983+ - name : Set up Node
984+ uses : actions/setup-node@v6
985+ with :
986+ node-version-file : ' package.json'
987+ - name : Set up Deno
988+ uses : denoland/setup-deno@v2.0.4
989+ with :
990+ deno-version : ' v2.8.0'
991+ - name : Restore caches
992+ uses : ./.github/actions/restore-cache
993+ with :
994+ dependency_cache_key : ${{ needs.job_build.outputs.dependency_cache_key }}
995+ - name : Build @sentry/deno
996+ working-directory : packages/deno
997+ run : yarn build
998+ - name : Run integration tests
999+ working-directory : dev-packages/deno-integration-tests
1000+ run : yarn test
1001+
9691002 job_build_tarballs :
9701003 name : Build tarballs
9711004 # We want to run this if:
@@ -1263,6 +1296,7 @@ jobs:
12631296 job_cloudflare_integration_tests,
12641297 job_bundler_plugin_integration_tests,
12651298 job_bun_integration_tests,
1299+ job_deno_integration_tests,
12661300 job_browser_playwright_tests,
12671301 job_browser_loader_tests,
12681302 job_e2e_tests,
0 commit comments