Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,23 @@ jobs:
path: artifacts
- name: Move artifacts
run: pnpm artifacts
- name: Restore entrypoints
run: |
INDEX_JS=$(find artifacts -name "index.js" | head -n 1)
INDEX_D_TS=$(find artifacts -name "index.d.ts" | head -n 1)

if [ -n "$INDEX_JS" ] && [ -n "$INDEX_D_TS" ]; then
echo "Found index.js: $INDEX_JS"
echo "Found index.d.ts: $INDEX_D_TS"

echo "Copying entrypoints to project root"
cp "$INDEX_JS" index.js
cp "$INDEX_D_TS" index.d.ts
else
echo "Error: entrypoints not found in artifacts" >&2
exit 1
fi
shell: bash
- name: Copy fix-python-soname files to Linux packages
run: |
# Find the WASM and JS files from Linux artifacts
Expand All @@ -435,10 +452,11 @@ jobs:
fi
done
else
echo "Warning: fix-python-soname files not found in artifacts"
echo "Error: fix-python-soname files not found in artifacts" >&2
exit 1
fi
- name: List packages
run: ls -R ./npm
- name: List project files
run: ls -R .
shell: bash
- name: Update npm
run: npm install -g npm@latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@platformatic/python-node",
"description": "Run ASGI-compatible Python apps in Node.js",
"version": "0.1.3",
"version": "0.1.4",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
Loading