Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
f01c13b0
authored
Jul 27, 2026
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add CI workflow for backend and frontend build, typecheck, and test
parent
2cf3c8d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
0 deletions
+75
-0
.github/workflows/ci.yml
+75
-0
No files found.
.github/workflows/ci.yml
0 → 100644
View file @
f01c13b0
name
:
CI
on
:
pull_request
:
types
:
[
opened
,
synchronize
,
closed
]
permissions
:
contents
:
read
concurrency
:
group
:
ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
backend
:
name
:
Backend build and test
if
:
github.event.action != 'closed' || github.event.pull_request.merged ==
true
runs-on
:
ubuntu-latest
timeout-minutes
:
15
env
:
GOWORK
:
'
off'
steps
:
-
name
:
Checkout
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
# v7.0.0
-
name
:
Set up Go
uses
:
actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16
# v6.5.0
with
:
go-version-file
:
go.mod
cache-dependency-path
:
|
go.sum
relaykit/go.sum
-
name
:
Create frontend embed placeholder
run
:
|
mkdir -p web/dist
touch web/dist/index.html
-
name
:
Build root module
run
:
go build ./...
-
name
:
Build relaykit independently
working-directory
:
relaykit
run
:
go build ./...
-
name
:
Test root and relaykit modules
run
:
make test
frontend
:
name
:
Frontend typecheck and test
if
:
github.event.action != 'closed' || github.event.pull_request.merged ==
true
runs-on
:
ubuntu-latest
timeout-minutes
:
10
defaults
:
run
:
working-directory
:
web
steps
:
-
name
:
Checkout
uses
:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
# v7.0.0
-
name
:
Set up Bun
uses
:
oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
# v2.2.0
with
:
bun-version
:
'
1.3.14'
-
name
:
Install dependencies
run
:
bun install --frozen-lockfile
-
name
:
Typecheck
run
:
bun run typecheck
-
name
:
Test
run
:
bun test
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