Add publish workflow (#798)

* Change build-mod to belong to packages

* Add publish script and workflow

* Fix typo in variable name
This commit is contained in:
Cooldude2606 authored and GitHub committed 2025-11-01 16:10:41 +00:00
1 parent 3fbd9a995d
commit 41151d47f0
6 files changed
+201 -6

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
"scripts": {
"build": "tsc --build",
"watch": "tsc --build --watch",
"build-mod": "node ./packages/lib/build_mod.js --source-dir ./packages/host/lua/clusterio_lib",
"build-mod": "pnpm run -r build-mod --output-dir ../../dist",
"test": "pnpm run build && mocha --enable-source-maps --check-leaks -R spec --recursive test \"plugins/*/test/**\" --exclude \"test/manual/**\"",
"silent-test": "SILENT_TEST=y pnpm test",
"fast-test": "FAST_TEST=y pnpm test",