@@ -191,6 +191,9 @@ jobs:
191191 changed_node_integration :
192192 ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
193193 ' @sentry-internal/node-integration-tests' ) }}
194+ changed_node_core_integration :
195+ ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
196+ ' @sentry-internal/node-core-integration-tests' ) }}
194197 changed_remix :
195198 ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected,
196199 ' @sentry/remix' ) }}
@@ -772,6 +775,55 @@ jobs:
772775 token : ${{ secrets.GITHUB_TOKEN }}
773776 directory : dev-packages/node-integration-tests
774777
778+ job_node_core_integration_tests :
779+ name :
780+ Node (${{ matrix.node }})${{ (matrix.typescript && format(' (TS {0})', matrix.typescript)) || '' }} Node-Core
781+ Integration Tests
782+ needs : [job_get_metadata, job_build]
783+ if : needs.job_build.outputs.changed_node_core_integration == 'true' || github.event_name != 'pull_request'
784+ runs-on : ubuntu-24.04
785+ timeout-minutes : 15
786+ strategy :
787+ fail-fast : false
788+ matrix :
789+ node : [18, 20, 22, 24]
790+ typescript :
791+ - false
792+ include :
793+ # Only check typescript for latest version (to streamline CI)
794+ - node : 24
795+ typescript : ' 3.8'
796+ steps :
797+ - name : Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
798+ uses : actions/checkout@v6
799+ with :
800+ ref : ${{ env.HEAD_COMMIT }}
801+ - name : Set up Node
802+ uses : actions/setup-node@v6
803+ with :
804+ node-version : ${{ matrix.node }}
805+ - name : Restore caches
806+ uses : ./.github/actions/restore-cache
807+ with :
808+ dependency_cache_key : ${{ needs.job_build.outputs.dependency_cache_key }}
809+
810+ - name : Overwrite typescript version
811+ if : matrix.typescript == '3.8'
812+ run : node ./scripts/use-ts-3_8.js
813+ working-directory : dev-packages/node-core-integration-tests
814+
815+ - name : Run integration tests
816+ working-directory : dev-packages/node-core-integration-tests
817+ run : yarn test
818+
819+ - name : Parse and Upload Coverage
820+ if : cancelled() == false
821+ continue-on-error : true
822+ uses : getsentry/codecov-action@main
823+ with :
824+ token : ${{ secrets.GITHUB_TOKEN }}
825+ directory : dev-packages/node-core-integration-tests
826+
775827 job_cloudflare_integration_tests :
776828 name : Cloudflare Integration Tests
777829 needs : [job_get_metadata, job_build]
@@ -1144,6 +1196,7 @@ jobs:
11441196 job_deno_unit_tests,
11451197 job_node_unit_tests,
11461198 job_node_integration_tests,
1199+ job_node_core_integration_tests,
11471200 job_cloudflare_integration_tests,
11481201 job_browser_playwright_tests,
11491202 job_browser_loader_tests,
0 commit comments