forked from open-webui/open-webui
		
	Seperate backend & frontend CI
This commit is contained in:
		
							parent
							
								
									60b6907203
								
							
						
					
					
						commit
						6ce41c712c
					
				
					 2 changed files with 36 additions and 5 deletions
				
			
		
							
								
								
									
										11
									
								
								.github/workflows/bun.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/bun.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -18,10 +18,11 @@ jobs: | |||
|       - name: Use Bun | ||||
|         uses: oven-sh/setup-bun@v1 | ||||
|       - run: bun --version | ||||
|       - run: bun install --frozen-lockfile | ||||
|       - name: Install frontend dependencies | ||||
|         run: bun install --frozen-lockfile | ||||
|       # - run: bun run lint | ||||
|       # - run: bun run lint:backend | ||||
|       # - run: bun run lint:types | ||||
|       - run: bun run format | ||||
|       - run: bun run format:backend | ||||
|       - run: bun run build | ||||
|       - name: Format frontend | ||||
|         run: bun run format | ||||
|       - name: Build frontend | ||||
|         run: bun run build | ||||
|  |  | |||
							
								
								
									
										30
									
								
								.github/workflows/python.yaml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/python.yaml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| name: Python CI | ||||
| on: | ||||
|   push: | ||||
|     branches: ['main'] | ||||
|   pull_request: | ||||
| jobs: | ||||
|   build: | ||||
|     name: 'Format & Build' # Format, Lint, & Build | ||||
|     env: | ||||
|       PUBLIC_API_BASE_URL: '' | ||||
|     runs-on: ubuntu-latest | ||||
|     strategy: | ||||
|       matrix: | ||||
|         node-version: | ||||
|           - latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - name: Use Python | ||||
|         uses: actions/setup-python@v4 | ||||
|       - name: Use Bun | ||||
|         uses: oven-sh/setup-bun@v1 | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           python -m pip install --upgrade pip | ||||
|           pip install yapf | ||||
|           pip install pylint | ||||
|       - name: Lint backend | ||||
|         run: bun run lint:backend | ||||
|       - name: Format backend | ||||
|         run: bun run format:backend | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ThatOneCalculator
						ThatOneCalculator