ci(release): enabled provenance for publishing to npm
This commit is contained in:
		
							parent
							
								
									050412eab8
								
							
						
					
					
						commit
						91eae117ed
					
				
							
								
								
									
										9
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -7,13 +7,14 @@ name: Release | ||||
|       - beta | ||||
|       - "*.x" | ||||
| permissions: | ||||
|   contents: read #  for checkout | ||||
|   contents: read            # for checkout | ||||
| jobs: | ||||
|   release: | ||||
|     permissions: | ||||
|       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 | ||||
|       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