Skip to content

Add baggage span processor package #63

Add baggage span processor package

Add baggage span processor package #63

name: Tests - opentelemetry-mutable-baggage
on:
push:
paths:
- '*'
- 'packages/opentelemetry-mutable-baggage/**'
jobs:
unit:
runs-on: ubuntu-latest
env:
NPM_WORKSPACE: packages/opentelemetry-mutable-baggage
strategy:
matrix:
node: [18, 20]
name: Node v${{ matrix.node }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js version
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint --workspace $NPM_WORKSPACE
- name: Run tests
env:
VITEST_MAX_THREADS: 2
VITEST_MIN_THREADS: 1
run: npm run test --workspace $NPM_WORKSPACE