File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 6666 ${{ runner.OS }}-node-
6767 ${{ runner.OS }}-
6868 - run : npm ci --legacy-peer-deps
69+ - name : Configure Datadog Test Visibility
70+ uses : datadog/test-visibility-github-action@v2
71+ with :
72+ languages : js
73+ service : gogovsg
74+ api_key : ${{ secrets.DD_API_KEY }}
6975 - run : npm run test
76+ env :
77+ NODE_OPTIONS : -r ${{ env.DD_TRACE_PACKAGE }}
7078 - name : Coveralls
7179 uses : coverallsapp/github-action@master
7280 with :
9199 ${{ runner.OS }}-
92100 - run : npm ci --legacy-peer-deps
93101 - run : echo CLOUDMERSIVE_KEY=${{secrets.CLOUDMERSIVE_KEY}} >> .env
102+ - name : Configure Datadog Test Visibility
103+ uses : datadog/test-visibility-github-action@v2
104+ with :
105+ languages : js
106+ service : gogovsg
107+ api_key : ${{ secrets.DD_API_KEY }}
94108 - run : npm run test:e2e-headless
109+ env :
110+ NODE_OPTIONS : -r ${{ env.DD_TRACE_PACKAGE }}
95111 integration :
96112 name : Integration Tests
97113 runs-on : ubuntu-22.04
@@ -113,7 +129,15 @@ jobs:
113129 - run : npm ci --legacy-peer-deps
114130 - run : npm run dev &
115131 - run : sleep 270
132+ - name : Configure Datadog Test Visibility
133+ uses : datadog/test-visibility-github-action@v2
134+ with :
135+ languages : js
136+ service : gogovsg
137+ api_key : ${{ secrets.DD_API_KEY }}
116138 - run : npm run test:integration
139+ env :
140+ NODE_OPTIONS : -r ${{ env.DD_TRACE_PACKAGE }}
117141 gatekeep :
118142 name : Determine if Build & Deploy is needed
119143 outputs :
You can’t perform that action at this time.
0 commit comments