forked from open-webui/open-webui
		
	ci: 👷 move CI to Bun
This commit is contained in:
		
							parent
							
								
									07cc7f15d5
								
							
						
					
					
						commit
						60b6907203
					
				
					 2 changed files with 27 additions and 27 deletions
				
			
		
							
								
								
									
										27
									
								
								.github/workflows/bun.yaml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/bun.yaml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,27 @@ | |||
| name: Bun 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 Bun | ||||
|         uses: oven-sh/setup-bun@v1 | ||||
|       - run: bun --version | ||||
|       - 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 | ||||
							
								
								
									
										27
									
								
								.github/workflows/node.js.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/node.js.yaml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,27 +0,0 @@ | |||
| name: Node.js CI | ||||
| on: | ||||
|   push: | ||||
|     branches: ['main'] | ||||
|   pull_request: | ||||
| jobs: | ||||
|   build: | ||||
|     name: 'Fmt, Lint, & Build' | ||||
|     env: | ||||
|       PUBLIC_API_BASE_URL: '' | ||||
|     runs-on: ubuntu-latest | ||||
|     strategy: | ||||
|       matrix: | ||||
|         node-version: | ||||
|           - latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - name: Use Node.js ${{ matrix.node-version }} | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: ${{ matrix.node-version }} | ||||
|       - run: node --version | ||||
|       - run: npm clean-install | ||||
|       - run: npm run fmt | ||||
|         #- run: npm run lint | ||||
|         #- run: npm run lint:types | ||||
|       - run: npm run build | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ThatOneCalculator
						ThatOneCalculator