Closed yeliex closed 10 months ago
@yanyiwu @Mister-Hope review please
as far as I am concerned, it is really heavy for a such simply node repo to use pnpm(it cause cannot support node<16) and rollup(it just has a ts file only, tsc or swc is enough)
this pr fix invalid configuration of github ci test and release, including support arm64 and run running in correctly arch os.
it should build pre-build binaries as expected and upload them to github node registry without specify token manually.
test case in my repo: https://github.com/yeliex/nodejieba/actions/runs/7206729058
EDIT: mark as draft currently because cannot build for arm64 directly, should use docker to support cross-compile