mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-31 23:43:33 +00:00 
			
		
		
		
	Update versions.yml
This commit is contained in:
		
							parent
							
								
									70be4f1640
								
							
						
					
					
						commit
						0fe4194162
					
				
							
								
								
									
										19
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							| @ -34,19 +34,22 @@ jobs: | ||||
|         node-version: [lts/dubnium, lts/erbium, lts/fermium, lts/*, lts/-1] | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - name: Install NVM | ||||
|         if: runner.os == 'Linux' | ||||
|         run: | | ||||
|           curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | ||||
|           echo 'export NVM_DIR="$HOME/.config/nvm"' >> $GITHUB_ENV | ||||
|           echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $GITHUB_ENV | ||||
|           echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> $GITHUB_ENV | ||||
|       - name: Source NVM | ||||
|         if: runner.os == 'Linux' | ||||
|         run: | | ||||
|           source $GITHUB_ENV | ||||
|       - name: Setup Node | ||||
|         uses: ./ | ||||
|         with: | ||||
|           node-version: ${{ matrix.node-version }} | ||||
|           check-latest: true | ||||
| 
 | ||||
|       - name: Install NVM | ||||
|         if: runner.os == 'Linux' | ||||
|         run: | | ||||
|           curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | ||||
|           export NVM_DIR="$HOME/.nvm" | ||||
|           [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | ||||
|           [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | ||||
|       - if: runner.os != 'Windows' && runner.os != 'macOS' | ||||
|         name: Verify node and npm | ||||
|         run: | | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user