mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	devops: introduce manual @next NPM publishing (#6881)
This commit is contained in:
		
							parent
							
								
									e41979a551
								
							
						
					
					
						commit
						b19b2dc3ad
					
				
							
								
								
									
										5
									
								
								.github/workflows/publish_canary_npm.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/publish_canary_npm.yml
									
									
									
									
										vendored
									
									
								
							@ -1,6 +1,7 @@
 | 
			
		||||
name: "devrelease:npm"
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: "10 0 * * *"
 | 
			
		||||
  push:
 | 
			
		||||
@ -22,9 +23,9 @@ jobs:
 | 
			
		||||
    - run: npm ci
 | 
			
		||||
    - run: npm run build
 | 
			
		||||
    - run: node utils/build/update_canary_version.js --today-date
 | 
			
		||||
      if: contains(github.ref, 'master')
 | 
			
		||||
      if: contains(github.ref, 'master') && github.event_name != 'workflow_dispatch'
 | 
			
		||||
    - run: node utils/build/update_canary_version.js --commit-timestamp
 | 
			
		||||
      if: contains(github.ref, 'release')
 | 
			
		||||
      if: contains(github.ref, 'release') || github.event_name == 'workflow_dispatch'
 | 
			
		||||
    - run: utils/publish_all_packages.sh --tip-of-tree
 | 
			
		||||
      env:
 | 
			
		||||
        NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user