feat(action): Add initial action
This commit is contained in:
		
				commit
				
					
						fe68950f3c
					
				
			
		
					 1 changed files with 24 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								action.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								action.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | ||||||
|  | name: "Semantic Release" | ||||||
|  | description: "Automatically creates semantic releases" | ||||||
|  | 
 | ||||||
|  | runs: | ||||||
|  |   using: "composite" | ||||||
|  |   steps: | ||||||
|  |     - name: Checkout | ||||||
|  |       uses: actions/checkout@v3 | ||||||
|  |       with: | ||||||
|  |         fetch-depth: 0 | ||||||
|  |     - name: Setup Node.js | ||||||
|  |       uses: actions/setup-node@v3 | ||||||
|  |       with: | ||||||
|  |         node-version: "lts/*" | ||||||
|  |     - name: Install dependencies | ||||||
|  |       run: npm install semantic-release @saithodev/semantic-release-gitea | ||||||
|  |     - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies | ||||||
|  |       run: npm audit signatures | ||||||
|  |     - name: Release | ||||||
|  |       env: | ||||||
|  |         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|  |         GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} | ||||||
|  |       run: npx semantic-release | ||||||
|  | 
 | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue