Skip to content

Pluggable api client #1522

Pluggable api client

Pluggable api client #1522

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
env: ['node', 'jsdom']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: ./dev/docker-compose up -d
- run: npm run test:${{ matrix.env }}
env:
NODE_OPTIONS: '-r dd-trace/ci/init'
DD_ENV: ci:${{ matrix.env }}
DD_SERVICE: xmtp-js
DD_CIVISIBILITY_AGENTLESS_ENABLED: 'true'
DD_API_KEY: ${{ secrets.DD_API_KEY }}