feat(ci): publish standalone runtime tarball with production node_modules
CI & Test NaxOS Management API / test (push) Successful in 14m53s

This commit is contained in:
Lukas Holzner
2026-09-04 09:54:17 +02:00
parent a8173d724a
commit 784a9b742d
+8
View File
@@ -61,3 +61,11 @@ jobs:
echo "//git.lholz.de/api/packages/naxos/npm/:_authToken=${TOKEN}" >> ~/.npmrc
npm publish || echo "NPM package published or exists in registry"
# Publish pre-bundled standalone runtime with production node_modules
npm prune --omit=dev
tar -czf naxos-api-runtime.tar.gz dist node_modules package.json
curl -s -X PUT \
-H "Authorization: token ${TOKEN}" \
--upload-file naxos-api-runtime.tar.gz \
"${{ github.server_url }}/api/packages/naxos/generic/naxos-api/1.0.0/naxos-api-runtime.tar.gz" || echo "Runtime package already exists"