mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	CI - Add node dependencies (#23939)
* CI - Add node dependencies * Add support for Java and NPM versions as a variable in setup test environment --------- Co-authored-by: Matias Puerta <matias@getcollate.io>
This commit is contained in:
		
							parent
							
								
									c8d3412f31
								
							
						
					
					
						commit
						573dcd044b
					
				| @ -5,6 +5,12 @@ inputs: | ||||
|   python-version: | ||||
|     description: Python Version to install | ||||
|     required: true | ||||
|   java-version: | ||||
|     description: Java Version to install | ||||
|     default: '21' | ||||
|   npm-version: | ||||
|     description: NPM Version to install | ||||
|     default: 'v22.x' | ||||
|   args: | ||||
|     description: Arguments to pass to run_local_docker.sh | ||||
|     required: false | ||||
| @ -26,13 +32,23 @@ runs: | ||||
|     # ------------------------------------------------------------------------------ | ||||
| 
 | ||||
|     # ---- Setup Java -------------------------------------------------------------- | ||||
|     - name: Setup JDK 21 | ||||
|     - name: Setup JDK ${{ inputs.java-version }} | ||||
|       uses: actions/setup-java@v4 | ||||
|       with: | ||||
|         java-version: '21' | ||||
|         java-version: ${{ inputs.java-version }} | ||||
|         distribution: 'temurin' | ||||
|     # ------------------------------------------------------------------------------ | ||||
| 
 | ||||
|     # ---- Setup Node -------------------------------------------------------------- | ||||
|     - name: Use Node.js ${{ inputs.npm-version }} | ||||
|       uses: actions/setup-node@v4 | ||||
|       with: | ||||
|         node-version: ${{ inputs.npm-version }} | ||||
| 
 | ||||
|     - name: Install yarn | ||||
|       run: npm install -g yarn | ||||
|     # ------------------------------------------------------------------------------ | ||||
| 
 | ||||
|     # ---- Setup Python Test Environment ------------------------------------------- | ||||
|     - name: Setup Python ${{ inputs.python-version }} | ||||
|       uses: actions/setup-python@v5 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pere Miquel Brull
						Pere Miquel Brull