Skip to content

Bump github workflows actions #90

Bump github workflows actions

Bump github workflows actions #90

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@v4
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