mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 07:33:34 +00:00 
			
		
		
		
	remove reduntant comment
This commit is contained in:
		
							parent
							
								
									1364035bf3
								
							
						
					
					
						commit
						de612ec12c
					
				
							
								
								
									
										2
									
								
								.github/workflows/build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build-test.yml
									
									
									
									
										vendored
									
									
								
							@ -20,7 +20,7 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v2
 | 
					      - uses: actions/checkout@v2
 | 
				
			||||||
      - name: Setup node 12
 | 
					      - name: Setup node 12
 | 
				
			||||||
        uses: actions/setup-node@v1
 | 
					        uses: actions/setup-node@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          node-version: 12.x
 | 
					          node-version: 12.x
 | 
				
			||||||
      - run: npm ci
 | 
					      - run: npm ci
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							@ -35,7 +35,7 @@ jobs:
 | 
				
			|||||||
      fail-fast: false
 | 
					      fail-fast: false
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        operating-system: [ubuntu-latest, windows-latest, macos-latest]
 | 
					        operating-system: [ubuntu-latest, windows-latest, macos-latest]
 | 
				
			||||||
        node-version: [10.15, 10.16.2, 12.14, 12.16.0, 14.1, 14.2.0]
 | 
					        node-version: [10.15, 12.16.0, 14.2.0]
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v2
 | 
					      - uses: actions/checkout@v2
 | 
				
			||||||
      - name: Setup Node
 | 
					      - name: Setup Node
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -13111,7 +13111,6 @@ function getInfoFromManifest(versionSpec, stable, auth) {
 | 
				
			|||||||
    return __awaiter(this, void 0, void 0, function* () {
 | 
					    return __awaiter(this, void 0, void 0, function* () {
 | 
				
			||||||
        let info = null;
 | 
					        let info = null;
 | 
				
			||||||
        const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth);
 | 
					        const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth);
 | 
				
			||||||
        core.info(`matching ${versionSpec}...`);
 | 
					 | 
				
			||||||
        const rel = yield tc.findFromManifest(versionSpec, stable, releases);
 | 
					        const rel = yield tc.findFromManifest(versionSpec, stable, releases);
 | 
				
			||||||
        if (rel && rel.files.length > 0) {
 | 
					        if (rel && rel.files.length > 0) {
 | 
				
			||||||
            info = {};
 | 
					            info = {};
 | 
				
			||||||
 | 
				
			|||||||
@ -166,7 +166,6 @@ async function getInfoFromManifest(
 | 
				
			|||||||
    'node-versions',
 | 
					    'node-versions',
 | 
				
			||||||
    auth
 | 
					    auth
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
  core.info(`matching ${versionSpec}...`);
 | 
					 | 
				
			||||||
  const rel = await tc.findFromManifest(versionSpec, stable, releases);
 | 
					  const rel = await tc.findFromManifest(versionSpec, stable, releases);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (rel && rel.files.length > 0) {
 | 
					  if (rel && rel.files.length > 0) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user