Skip to content

chore: bump @commitlint/cli from 20.4.2 to 20.4.3 (#1427) #1028

chore: bump @commitlint/cli from 20.4.2 to 20.4.3 (#1427)

chore: bump @commitlint/cli from 20.4.2 to 20.4.3 (#1427) #1028

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-24.04
permissions:
contents: 'write'
id-token: 'write'
issues: 'write'
pull-requests: 'write'
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node 22
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm run ci
- name: Build
run: pnpm run build:ci
- uses: google-github-actions/auth@v2
id: auth
with:
token_format: access_token
workload_identity_provider: projects/1030413944741/locations/global/workloadIdentityPools/github-pool/providers/github-provider
service_account: github-publisher@hypertrace-repos.iam.gserviceaccount.com
# Ref https://github.com/semantic-release/npm/pull/844
- name: Update npmrc for publish
shell: bash
run: echo "@hypertrace:registry=${{ secrets.GAR_NPM_PUBLISH_REGISTRY }}" >> .npmrc
- name: Publish
run: pnpm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ steps.auth.outputs.access_token }}