Skip to content

fix(deps): update opentelemetry-go monorepo to v1.37.0 #2161

fix(deps): update opentelemetry-go monorepo to v1.37.0

fix(deps): update opentelemetry-go monorepo to v1.37.0 #2161

Workflow file for this run

name: Build SDK
on:
push:
branches:
- 'main'
paths:
- sdk/**
tags:
- '*'
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./sdk/js
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
cache: npm
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Build docs
run: npm run docs
- name: Check if repository is clean
run: |
STATUS="$(git status --porcelain)"
if [ -z "$STATUS" ]; then
echo Repository is clean.
else
echo "Repository is not clean:
$STATUS
You might want to run 'npm run docs' and try again"
exit 1
fi
- name: Publish to npmjs
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}