Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
6ce41c71
Unverified
Commit
6ce41c71
authored
Jan 03, 2024
by
ThatOneCalculator
Browse files
Seperate backend & frontend CI
parent
60b69072
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
5 deletions
+36
-5
.github/workflows/bun.yaml
.github/workflows/bun.yaml
+6
-5
.github/workflows/python.yaml
.github/workflows/python.yaml
+30
-0
No files found.
.github/workflows/bun.yaml
View file @
6ce41c71
...
@@ -18,10 +18,11 @@ jobs:
...
@@ -18,10 +18,11 @@ jobs:
-
name
:
Use Bun
-
name
:
Use Bun
uses
:
oven-sh/setup-bun@v1
uses
:
oven-sh/setup-bun@v1
-
run
:
bun --version
-
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
# - run: bun run lint:backend
# - run: bun run lint:types
# - run: bun run lint:types
-
run
:
bun run format
-
name
:
Format frontend
-
run
:
bun run format:backend
run
:
bun run format
-
run
:
bun run build
-
name
:
Build frontend
run
:
bun run build
.github/workflows/python.yaml
0 → 100644
View file @
6ce41c71
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment