Skip to content

Add Collection of Metrics when Measurements are passed to Events #1385

Add Collection of Metrics when Measurements are passed to Events

Add Collection of Metrics when Measurements are passed to Events #1385

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# TODO: Enable Node 14.x when we update the pipeline to support AbortController
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- run: openssl req -x509 -nodes -newkey rsa -keyout ./test/certs/server-key.pem -out ./test/certs/server-cert.pem -days 1 -subj "/C=CL/ST=RM/L=OpenTelemetryTest/O=Root/OU=Test/CN=ca"
- name: (${{ matrix.os }}) on Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm run clean
- run: npm i
- run: npm run build --if-present
- run: npm run lint
- run: npm test