Skip to content

chore: bump @types/node from 24.0.13 to 24.1.0 (#1322) #967

chore: bump @types/node from 24.0.13 to 24.1.0 (#1322)

chore: bump @types/node from 24.0.13 to 24.1.0 (#1322) #967

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 Node 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: NPM Install
run: npm ci
- name: Build
run: npm 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: [email protected]
# Ref https://github.com/semantic-release/npm/pull/844
- name: Update npmrc for publish
shell: bash
run: npm config set -L project @hypertrace:registry ${{ secrets.GAR_NPM_PUBLISH_REGISTRY }}
- name: Publish
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ steps.auth.outputs.access_token }}