Skip to content

Commit

Permalink
chore: add datadog test action
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Sep 24, 2024
1 parent 2fbf00b commit cb875df
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,16 @@ jobs:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run test:docker
- run: npm run test:docker
- name: Configure Datadog Test Visibility
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
NODE_OPTIONS: -r ${{ env.DD_TRACE_PACKAGE }}
uses: datadog/test-visibility-github-action@v1
with:
languages: js
service: isomer
api_key: ${{ secrets.DD_API_KEY }}
- run: . .env.test && npx jest --runInBand

gatekeep:
Expand Down Expand Up @@ -188,4 +197,4 @@ jobs:
if: needs.gatekeep.outputs.proceed == 'true'
uses: ./.github/workflows/deploy_prod.yml
secrets: inherit


0 comments on commit cb875df

Please sign in to comment.