{"repo":"lando/pkg-action","free":true,"listed":false,"github":"https://github.com/lando/pkg-action","clone":"git clone https://github.com/lando/pkg-action.git","description":"A GitHub action that uses vercel/pkg to \"compile\" node projects into binaries","language":"JavaScript","stars":19,"topics":["devops","github-actions"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Pkg Action This is a GitHub action that allows you to \"compile\" node projects with @yao-pkg/pkg. It supports: All @yao-pkg/pkg supported node versions x64 amd64 and aarch64 arm64 macos linux windows . If you are also looking to code sign/notarize the resulting binaries then check out @lando/code-sign-action. Caveats If you are looking to \"cross compile\" binaries across OS AND architecture then we recommend you matrix strategy across this actions os and arch inputs instead of runs-on . This is neccessary because arm64 compilation is currently emulated on Linux only. If you are compiling just on amd64 x64 then it's probably ok to use runs-on . If you are looking to \"cross compile\" binaries across OS AND architecture AND code sign/notarize the resulting binaries we recommend you first upload the artifacts and then download them to the os you need to do the code signing. See Advanced Usage below for some examples of ^. Required Inputs These keys must be set correctly for the action to work. Name Description Example Value --- --- --- entrypoint The binary entrypoint path. bin/entrypoint.js Optional Inputs These keys are set to sane defaults but can be modified as needed. Name Description Default Example --- --- --- --- arch The architecture to build for. ${{ runner.arch }} x64 \\ amd64 \\ aarch64 \\ arm64 config The config file to use. package.json config.json filename The name of the resulting binary. ${{ package.name }} mycli node-version The node version to package with. 20 8 \\ 10","default_branch":null,"files":null,"tree":[],"storefront":"/r/lando","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lando/pkg-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}