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
60b69072
Unverified
Commit
60b69072
authored
Jan 03, 2024
by
ThatOneCalculator
Browse files
ci:
👷
move CI to Bun
parent
07cc7f15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
.github/workflows/bun.yaml
.github/workflows/bun.yaml
+27
-0
No files found.
.github/workflows/
node.js
.yaml
→
.github/workflows/
bun
.yaml
View file @
60b69072
name
:
Node.js
CI
name
:
Bun
CI
on
:
push
:
branches
:
[
'
main'
]
pull_request
:
jobs
:
build
:
name
:
'
F
m
t,
Lint,
&
Build
'
name
:
'
F
ormat
&
Build'
# Forma
t, Lint, & Build
env
:
PUBLIC_API_BASE_URL
:
'
'
runs-on
:
ubuntu-latest
...
...
@@ -14,14 +14,14 @@ jobs:
node-version
:
-
latest
steps
:
-
uses
:
actions/checkout@v
3
-
name
:
Use
Node.js ${{ matrix.node-version }}
uses
:
actions
/setup-
node
@v
3
with
:
node-version
:
${{ matrix.node-version }}
-
run
:
node --version
-
run
:
npm clean-install
-
run
:
npm
run
fmt
#
- run:
npm
run
lin
t
#
- run:
npm
run
lint:types
-
run
:
npm
run build
-
uses
:
actions/checkout@v
4
-
name
:
Use
Bun
uses
:
oven-sh
/setup-
bun
@v
1
-
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
forma
t
-
run
:
bun
run
format:backend
-
run
:
bun
run build
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