Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
supermemory/.github/workflows/ci.yml at main · supermemoryai/supermemory · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
supermemoryai
supermemory
Repository navigation
Code
Issues
21
(21)
Pull requests
18
(18)
Actions
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
supermemory
/
.github
/
workflows
/
ci.yml
Copy path
View runs
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
100 lines (80 loc) · 3.23 KB
main
Breadcrumbs
supermemory
/
.github
/
workflows
/
ci.yml
Copy path
Top
File metadata and controls
Code
Blame
100 lines (80 loc) · 3.23 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
name
:
CI - Type Check, Format & Lint
on
:
pull_request
:
concurrency
:
group
:
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress
:
true
permissions
:
contents
:
read
env
:
FORCE_COLOR
:
1
jobs
:
quality-checks
:
name
:
Quality Checks
runs-on
:
ubuntu-latest
timeout-minutes
:
15
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v4
with
:
fetch-depth
:
0
-
name
:
Setup Bun
uses
:
oven-sh/setup-bun@v2
with
:
bun-version
:
1.3.6
-
name
:
Install dependencies
run
:
bun install --frozen-lockfile
-
name
:
Detect SDK and playground changes
id
:
sdk-changes
run
:
|
if git diff --quiet "${{ github.event.pull_request.base.sha }}" HEAD -- packages/tools; then
echo "tools=false" >> "$GITHUB_OUTPUT"
else
echo "tools=true" >> "$GITHUB_OUTPUT"
fi
if git diff --quiet "${{ github.event.pull_request.base.sha }}" HEAD -- apps/sdk-playground; then
echo "sdk_playground=false" >> "$GITHUB_OUTPUT"
else
echo "sdk_playground=true" >> "$GITHUB_OUTPUT"
fi
-
name
:
Setup Python for SDK Playground
if
:
steps.sdk-changes.outputs.sdk_playground == 'true'
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v7.0.0
with
:
python-version
:
"
3.12
"
-
name
:
Setup uv for SDK Playground
if
:
steps.sdk-changes.outputs.sdk_playground == 'true'
uses
:
astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d
#
v10.0.1
with
:
version
:
"
0.12.5
"
enable-cache
:
true
working-directory
:
apps/sdk-playground/python
cache-dependency-glob
:
uv.lock
-
name
:
Validate SDK Playground Python server
if
:
steps.sdk-changes.outputs.sdk_playground == 'true'
working-directory
:
apps/sdk-playground/python
run
:
|
uv sync --locked --python 3.12
.venv/bin/python -m py_compile server.py
.venv/bin/python -c "import server"
-
name
:
Run Tools unit tests
if
:
steps.sdk-changes.outputs.tools == 'true'
run
:
bun run --cwd packages/tools test:unit
-
name
:
Build Tools package
if
:
steps.sdk-changes.outputs.tools == 'true' || steps.sdk-changes.outputs.sdk_playground == 'true'
run
:
bun run --cwd packages/tools build
-
name
:
Check Tools against AI SDK 5, 6 and 7
if
:
steps.sdk-changes.outputs.tools == 'true'
run
:
bun run --cwd packages/tools test:compat
-
name
:
Run SDK Playground type checking
if
:
steps.sdk-changes.outputs.sdk_playground == 'true'
run
:
bun run --cwd apps/sdk-playground check-types:app
-
name
:
Build SDK Playground
if
:
steps.sdk-changes.outputs.sdk_playground == 'true'
run
:
bun run --cwd apps/sdk-playground build:app
-
name
:
Run Memory Graph type checking
run
:
bun run --cwd packages/memory-graph check-types
-
name
:
Run Memory Graph unit tests
run
:
bun run --cwd packages/memory-graph test
-
name
:
Run Biome CI (format & lint on changed files)
run
:
bunx biome ci --changed --since=origin/main --no-errors-on-unmatched
You can’t perform that action at this time.