actions-marketplace-validations/Pkg Action
A GitHub Action for 'compiling' node projects into binaries using vercel/pkg or equivalent
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jul 23, 2025
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/lando_pkg-action@2f6699b3cd090fc9a195855f844422999f48ff9c # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| entrypoint | The binary entrypoint path | yes | — |
| arch | The architecture to build for x64|amd64|aarch64|arm64 | no | ${{ runner.arch }} |
| config | The config file to use | no | package.json |
| filename | The filename of the resulting binary | no | "" |
| node-version | The node version to package with | no | 20 |
| options | Additional options and flags to pass into pkg | no | — |
| os | The operating system to build for win|linux|macos | no | ${{ runner.os }} |
| pkg | The version of pkg to use | no | @yao-pkg/pkg@5.16.1 |
| test | Hidden flag for input testing | no | false |
| upload | Upload the artifact. Useful if you need to grab them for downstream things like code signing. | no | true |
| upload-key | Upload key for the artifact. Useful if want to override outputs.artifact-key with a specific value. | no | "" |
Outputs
| name | description |
|---|---|
| file | The path to the generated binary. |
| artifact-key | The artifact upload key. |