File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,23 @@ jobs:
1919 - run : npm ci
2020 env :
2121 NPM_TASKFORCESH_TOKEN : ${{ secrets.NPM_TASKFORCESH_TOKEN }}
22- # - name: Configure Datadog Test Visibility
23- # env:
24- # DD_SERVICE_NAME: ${{ secrets.DD_SERVICE_NAME }}
25- # DD_API_KEY: ${{ secrets.DD_API_KEY }}
26- # uses: datadog/test-visibility-github-action@v1
27- # with:
28- # languages: js
29- # service: ${{ secrets.DD_SERVICE_NAME }}
30- # api_key: ${{ secrets.DD_API_KEY }}
22+ - name : Configure Datadog Test Visibility
23+ env :
24+ DD_SERVICE_NAME : ${{ secrets.DD_SERVICE_NAME }}
25+ DD_API_KEY : ${{ secrets.DD_API_KEY }}
26+ uses : datadog/test-visibility-github-action@v2
27+ with :
28+ languages : js
29+ service : ${{ secrets.DD_SERVICE_NAME }}
30+ api_key : ${{ secrets.DD_API_KEY }}
31+ # we need to pin this for now since 5.68.0 breaks the ci
32+ js-tracer-version : 5.67.0
3133 - run : npm run lint
3234 - run : echo "✅ Your code has been linted."
3335 - run : npm run test
34- # env:
35- # # Required to allow Datadog to trace Vitest tests
36- # NODE_OPTIONS: -r ${{ env.DD_TRACE_PACKAGE }} --import ${{ env.DD_TRACE_ESM_IMPORT }}
36+ env :
37+ # Required to allow Datadog to trace Vitest tests
38+ NODE_OPTIONS : -r ${{ env.DD_TRACE_PACKAGE }} --import ${{ env.DD_TRACE_ESM_IMPORT }}
3739 - run : echo "✅ All tests passed."
3840 - run : VITE_MODE=test npm run build
3941 - run : echo "✅ Your code has been built."
You can’t perform that action at this time.
0 commit comments