chore(deps-dev): bump ioredis from 5.4.1 to 5.4.2 in /packages/opentelemetry-node in the patch-level group #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test "packages/opentelemetry-node" (a.k.a. EDOT Node.js). | |
name: test-edot | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'packages/opentelemetry-node/**' | |
- '.github/workflows/test-edot.yml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'packages/opentelemetry-node/**' | |
- '.github/workflows/test-edot.yml' | |
# 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: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- '22' | |
- '22.0' | |
- '20' | |
- '20.0' | |
- '18' | |
- '18.0' | |
- '16' | |
- '16.0' | |
- '14' | |
- '14.18.0' | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis:7 | |
ports: | |
- 6379:6379 | |
mongodb: | |
image: mongo:7 | |
ports: | |
- 27017:27017 | |
ollama: | |
# A light fork of Ollama to float some in-progress contributions related | |
# to more closely matching OpenAI behavior. | |
image: ghcr.io/elastic/ollama/ollama:testing | |
ports: | |
- 11434:11434 | |
postgres: | |
image: postgres:16 | |
ports: | |
- "5432:5432" | |
env: | |
POSTGRES_HOST_AUTH_METHOD: 'trust' | |
POSTGRES_USER: 'postgres' | |
mssql: | |
image: mcr.microsoft.com/mssql/server:2022-latest | |
env: | |
ACCEPT_EULA: 'Y' | |
MSSQL_SA_PASSWORD: 'Very(!)Secure' | |
ports: | |
- "1433:1433" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Update npm to a version that supports package-lock lockfileVersion=2. | |
if: ${{ startsWith(matrix.node, '14') }} | |
run: npm install -g npm@9 # npm@9 supports node >=14.17.0 | |
- name: npm ci in mockotlpserver package, used in EDOT tests | |
run: npm ci | |
working-directory: packages/mockotlpserver | |
- run: npm ci | |
working-directory: packages/opentelemetry-node | |
- run: npm test | |
working-directory: packages/opentelemetry-node | |
# TODO: test-windows eventually |