ci(release): enabled provenance for publishing to npm
This commit is contained in:
		
							parent
							
								
									050412eab8
								
							
						
					
					
						commit
						91eae117ed
					
				
							
								
								
									
										1
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -14,6 +14,7 @@ jobs: | ||||
|       contents: write       # to be able to publish a GitHub release | ||||
|       issues: write         # to be able to comment on released issues | ||||
|       pull-requests: write  # to be able to comment on released pull requests | ||||
|       id-token: write       # to enable use of OIDC for npm provenance | ||||
|     name: release | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|  | ||||
| @ -117,7 +117,8 @@ | ||||
|     "trailingComma": "es5" | ||||
|   }, | ||||
|   "publishConfig": { | ||||
|     "access": "public" | ||||
|     "access": "public", | ||||
|     "provenance": true | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user