Skip to content

OpenTelemetry Protocol Support #403

OpenTelemetry Protocol Support

OpenTelemetry Protocol Support #403

Workflow file for this run

name: Tests (unit)
on:
pull_request:
env:
NODE_VERSION: 24.x # Not used. See jobs.unit.strategy.matrix.node-version
permissions:
contents: read
jobs:
unit:
name: Tests (unit)
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: |
npm ci
- name: Build
run: |
npm run build --if-present
- name: Unit tests
run: |
npm run test:unit