Skip to content

Set npm package access to public #20

Set npm package access to public

Set npm package access to public #20

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
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js version
uses: actions/setup-node@v3
with:
node-version: 20
- 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