Merge pull request #2593 from brolnickij/fix/correct-pinia-colada-mut… #1041
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 | |
| permissions: | |
| contents: write | |
| id-token: write | |
| issues: write | |
| packages: write | |
| pull-requests: write | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: pnpm/[email protected] | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: pnpm build | |
| - name: Generate GitHub App Token | |
| id: app-token | |
| uses: actions/[email protected] | |
| with: | |
| app-id: ${{ secrets.GIT_APP_CLIENT_ID }} | |
| private-key: ${{ secrets.GIT_APP_PRIVATE_KEY }} | |
| - name: Create Release Pull Request | |
| uses: changesets/[email protected] | |
| with: | |
| commit: 'ci: release' | |
| publish: pnpm changeset publish | |
| title: 'ci: release' | |
| version: pnpm changeset version | |
| env: | |
| GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} | |
| NPM_CONFIG_PROVENANCE: true | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |