@@ -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' ) }}
@@ -953,6 +956,36 @@ jobs:
953956 working-directory : dev-packages/bun-integration-tests
954957 run : yarn test
955958
959+ job_deno_integration_tests :
960+ name : Deno Integration Tests
961+ needs : [job_get_metadata, job_build]
962+ if : needs.job_build.outputs.changed_deno_integration == 'true' || github.event_name != 'pull_request'
963+ runs-on : ubuntu-24.04
964+ timeout-minutes : 15
965+ steps :
966+ - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
967+ uses : actions/checkout@v6
968+ with :
969+ ref : ${{ env.HEAD_COMMIT }}
970+ - name : Set up Node
971+ uses : actions/setup-node@v6
972+ with :
973+ node-version-file : ' package.json'
974+ - name : Set up Deno
975+ uses : denoland/setup-deno@v2.0.4
976+ with :
977+ deno-version : ' v2.8.0'
978+ - name : Restore caches
979+ uses : ./.github/actions/restore-cache
980+ with :
981+ dependency_cache_key : ${{ needs.job_build.outputs.dependency_cache_key }}
982+ - name : Build @sentry/deno
983+ working-directory : packages/deno
984+ run : yarn build
985+ - name : Run integration tests
986+ working-directory : dev-packages/deno-integration-tests
987+ run : yarn test
988+
956989 job_build_tarballs :
957990 name : Build tarballs
958991 # We want to run this if:
@@ -1252,6 +1285,7 @@ jobs:
12521285 job_cloudflare_integration_tests,
12531286 job_bundler_plugin_integration_tests,
12541287 job_bun_integration_tests,
1288+ job_deno_integration_tests,
12551289 job_browser_playwright_tests,
12561290 job_browser_loader_tests,
12571291 job_e2e_tests,
0 commit comments