using changeset
This commit is contained in:
		
							
								
								
									
										34
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					name: Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					      - dev
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					concurrency: ${{ github.workflow }}-${{ github.ref }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  release:
 | 
				
			||||||
 | 
					    name: Release
 | 
				
			||||||
 | 
					    runs-on: ubuntu-22.04
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Checkout Repo
 | 
				
			||||||
 | 
					        uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Setup Node.js 20
 | 
				
			||||||
 | 
					        uses: actions/setup-node@v3
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          node-version: 20
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - uses: pnpm/action-setup@v2
 | 
				
			||||||
 | 
					        name: Install pnpm
 | 
				
			||||||
 | 
					        id: pnpm-install
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          version: 8.5.0
 | 
				
			||||||
 | 
					          run_install: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Create Release Pull Request
 | 
				
			||||||
 | 
					        uses: changesets/action@v1
 | 
				
			||||||
 | 
					        env:
 | 
				
			||||||
 | 
					          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
					          INPUT_MR_TARGET_BRANCH: release
 | 
				
			||||||
		Reference in New Issue
	
	Block a user