mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:33:33 +00:00 
			
		
		
		
	fix test workflow
This commit is contained in:
		
							parent
							
								
									50135037c8
								
							
						
					
					
						commit
						866ba66105
					
				
							
								
								
									
										6
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							@ -96,6 +96,9 @@ jobs:
 | 
				
			|||||||
        node-version-file: [.nvmrc, .tool-versions, package.json]
 | 
					        node-version-file: [.nvmrc, .tool-versions, package.json]
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - name: Remove volta from package.json
 | 
				
			||||||
 | 
					        shell: bash
 | 
				
			||||||
 | 
					        run: cat <<< "$(jq 'del(.volta)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
 | 
				
			||||||
      - name: Setup node from node version file
 | 
					      - name: Setup node from node version file
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@ -111,9 +114,6 @@ jobs:
 | 
				
			|||||||
        os: [ ubuntu-latest, windows-latest, macos-latest ]
 | 
					        os: [ ubuntu-latest, windows-latest, macos-latest ]
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
      - name: Remove engines from package.json
 | 
					 | 
				
			||||||
        shell: bash
 | 
					 | 
				
			||||||
        run: cat <<< "$(jq 'del(.engines)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
 | 
					 | 
				
			||||||
      - name: Setup node from node version file
 | 
					      - name: Setup node from node version file
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user