mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 07:43:35 +00:00 
			
		
		
		
	.
This commit is contained in:
		
							parent
							
								
									a96a3f1cee
								
							
						
					
					
						commit
						beb1329f9f
					
				
							
								
								
									
										16
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							@ -20,7 +20,7 @@ jobs:
 | 
				
			|||||||
      - name: Setup node 12
 | 
					      - name: Setup node 12
 | 
				
			||||||
        uses: actions/setup-node@v1
 | 
					        uses: actions/setup-node@v1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          version: 12.x
 | 
					          node-version: 12.x
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: npm install
 | 
					      - name: npm install
 | 
				
			||||||
        run: npm install
 | 
					        run: npm install
 | 
				
			||||||
@ -40,7 +40,7 @@ jobs:
 | 
				
			|||||||
      - name: Setup node 10
 | 
					      - name: Setup node 10
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          version: 10.x
 | 
					          node-version: 10.x
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Verify node version
 | 
					      - name: Verify node version
 | 
				
			||||||
        run: __tests__/verify-node-version.sh 10
 | 
					        run: __tests__/verify-node-version.sh 10
 | 
				
			||||||
@ -48,13 +48,23 @@ jobs:
 | 
				
			|||||||
  test-proxy:
 | 
					  test-proxy:
 | 
				
			||||||
    name: Test E2E with proxy
 | 
					    name: Test E2E with proxy
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: alpine/git:latest
 | 
				
			||||||
 | 
					      options: --dns 127.0.0.1
 | 
				
			||||||
 | 
					    services:
 | 
				
			||||||
 | 
					      squid-proxy:
 | 
				
			||||||
 | 
					        image: datadog/squid:latest
 | 
				
			||||||
 | 
					        ports:
 | 
				
			||||||
 | 
					          - 3128:3128
 | 
				
			||||||
 | 
					    env:
 | 
				
			||||||
 | 
					      https_proxy: http://squid-proxy:3128
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@users/ericsciple/m165proxy
 | 
					      - uses: actions/checkout@users/ericsciple/m165proxy
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Setup node 10
 | 
					      - name: Setup node 10
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          version: 10.x
 | 
					          node-version: 10.x
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Verify node version
 | 
					      - name: Verify node version
 | 
				
			||||||
        run: __tests__/verify-node-version.sh 10
 | 
					        run: __tests__/verify-node-version.sh 10
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user