Previously we had to share code between upgrade/dynamic and upgrade/static by symlinking the `src` folder, which allowed both packages to access the upgrade/common files. These symlinks are always problematic on Windows, where we had to run a script to re-link them, and restore them. This change uses Bazel packages to share the `upgrade/common` code, which avoids the need for symlinking the `src` folder. Also, the Windows specific scripts that fixup the symlinks have also been removed as there is no more need for them. PR Close #29466
		
			
				
	
	
		
			25 lines
		
	
	
		
			825 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			825 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: '1.0'
 | |
| 
 | |
| steps:
 | |
|   BuildImage:
 | |
|     type: build
 | |
|     image_name: node-bazel-windows
 | |
|     working_directory: ./.codefresh
 | |
|     no_cf_cache: true
 | |
|     build_arguments:
 | |
|       - node_version=10.13.0
 | |
|       - yarn_version=1.13.0
 | |
|     dockerfile: ./Dockerfile.win-1809
 | |
| 
 | |
|   RunTests:
 | |
|     title: Run Example
 | |
|     image: ${{BuildImage}}
 | |
|     commands:
 | |
|     # Install dependencies
 | |
|     - yarn install --frozen-lockfile --non-interactive --network-timeout 100000 --no-progress
 | |
|     # Add Bazel CI config
 | |
|     - copy .codefresh\bazel.rc %ProgramData%\bazel.bazelrc
 | |
|     # Run tests
 | |
|     - yarn bazel test //tools/ts-api-guardian:all
 | |
|     - yarn test-ivy-aot //packages/animations/test //packages/common/test //packages/forms/test //packages/http/test //packages/platform-browser/test //packages/platform-browser-dynamic/test //packages/router/test
 |