File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 cache : ' npm'
8888 cache-dependency-path : ' altk_evolve/frontend/ui/package-lock.json'
8989
90+ - name : Build UI
91+ working-directory : altk_evolve/frontend/ui
92+ run : npm ci && npm run build
93+
94+ - name : Verify UI build
95+ run : |
96+ if [ ! -s "altk_evolve/frontend/ui/dist/index.html" ]; then
97+ echo "UI build failed: dist/index.html missing or empty"
98+ exit 1
99+ fi
100+
90101 - name : Run semantic version release
91102 id : release
92103 # Adjust tag with desired version if applicable.
Original file line number Diff line number Diff line change @@ -116,8 +116,6 @@ build_command = '''
116116 perl -i -pe "s|\]\(docs/([^)]*)\)|](https://github.com/AgentToolkit/altk-evolve/blob/v$NEW_VERSION/docs/\$1)|g" README.md
117117 sed -i 's/^SCRIPT_VERSION="main"/SCRIPT_VERSION="v'"$NEW_VERSION"'"/' platform-integrations/install.sh
118118 git add platform-integrations/install.sh
119- (cd altk_evolve/frontend/ui && rm -rf dist && npm ci && npm run build)
120- if [ ! -s "altk_evolve/frontend/ui/dist/index.html" ]; then echo "UI build failed: dist/index.html missing or empty" && exit 1; fi
121119 uv build
122120 mv README.md.bak README.md
123121'''
You can’t perform that action at this time.
0 commit comments