chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.116.1 #3501
Workflow file for this run
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
name: Node.js Package | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
merge_group: | |
jobs: | |
## | |
# Runs semantic release in a regular | |
## | |
release: | |
name: Semantic Release | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
# https://github.com/semantic-release/npm | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
id-token: write # to enable use of OIDC for npm provenance | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Install pnpm & node | |
uses: ./.github/actions/install-pnpm-and-node | |
# https://github.com/pnpm/pnpm/issues/3141#issuecomment-1305563972 | |
- name: Set publishing config | |
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
- name: Semantic Release | |
run: pnpm run semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
NPM_CONFIG_PROVENANCE: true | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |