mirror of
				https://github.com/jakejarvis/jarv.is.git
				synced 2025-11-04 10:30:11 -05:00 
			
		
		
		
	generate function source maps for sentry releases
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/post-deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/post-deploy.yml
									
									
									
									
										vendored
									
									
								
							@@ -18,6 +18,9 @@ jobs:
 | 
			
		||||
    - uses: actions/setup-node@v2
 | 
			
		||||
      with:
 | 
			
		||||
        node-version: 14.x
 | 
			
		||||
    - run: yarn install --frozen-lockfile
 | 
			
		||||
    # https://docs.sentry.io/platforms/node/typescript/#configuring-typescript-compiler
 | 
			
		||||
    - run: npx -p typescript tsc --esModuleInterop --sourceMap --sourceRoot '/' --inlineSources api/**/*.ts
 | 
			
		||||
    - uses: getsentry/action-release@v1
 | 
			
		||||
      if: github.event.deployment_status.environment == 'production'
 | 
			
		||||
      env:
 | 
			
		||||
@@ -26,6 +29,7 @@ jobs:
 | 
			
		||||
        SENTRY_PROJECT: jarvis
 | 
			
		||||
      with:
 | 
			
		||||
        environment: ${{ github.event.deployment_status.environment }}
 | 
			
		||||
        sourcemaps: ./api
 | 
			
		||||
    - uses: browser-actions/setup-chrome@latest
 | 
			
		||||
      with:
 | 
			
		||||
        chrome-version: stable
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user