Skip to content

feat(opentelemetry-node): bunyan instrumentation #165

feat(opentelemetry-node): bunyan instrumentation

feat(opentelemetry-node): bunyan instrumentation #165

Workflow file for this run

name: test
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '**/*.asciidoc'
- 'docs/**'
- 'examples/**'
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- '**/*.asciidoc'
- 'docs/**'
- 'examples/**'
# Cancel jobs running for old commits on a PR. Allow concurrent runs on 'main'.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
test-vers:
# TODO: services eventually will go here
strategy:
fail-fast: false
matrix:
node:
- '21'
- '21.0'
- '20'
- '20.0'
- '18.18.2' # Skip >=18.19.0 until IITM issues are resolved.
- '18.0'
- '16'
- '16.0'
- '14'
- '14.17' # TODO: is this our actual min? same as elastic-apm-node
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Update npm to a version that supports workspaces (v7 or later)
if: ${{ matrix.node < 16 }}
run: npm install -g npm@9 # npm@9 supports node >=14.17.0
- run: npm ci
- run: npm test
# TODO: test-windows eventually