chore: bump oxfmt from 0.35.0 to 0.36.0 (#1426) #1029
This file contains hidden or 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: 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 }} |