chore: resolving merge conflict (#243) #32
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - beta | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| id-token: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install npm 11.5.1+ for OIDC support | |
| run: npm install -g npm@latest | |
| - name: Install pnpm | |
| run: npm install -g pnpm@10 | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Validate publishing prerequisites | |
| uses: GarthDB/changesets-publish-validator@v1 | |
| with: | |
| auth-method: oidc | |
| - name: Publish | |
| id: changesets | |
| uses: GarthDB/changesets-action@v1.6.8 | |
| with: | |
| commit: 'chore: release' | |
| publish: pnpm release | |
| oidcAuth: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |