actions-marketplace-validations/Pkg Action

A GitHub Action for 'compiling' node projects into binaries using vercel/pkg or equivalent

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 23, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/lando_pkg-action@2f6699b3cd090fc9a195855f844422999f48ff9c # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
entrypointThe binary entrypoint pathyes
archThe architecture to build for x64|amd64|aarch64|arm64no${{ runner.arch }}
configThe config file to usenopackage.json
filenameThe filename of the resulting binaryno""
node-versionThe node version to package withno20
optionsAdditional options and flags to pass into pkgno
osThe operating system to build for win|linux|macosno${{ runner.os }}
pkgThe version of pkg to useno@yao-pkg/pkg@5.16.1
testHidden flag for input testingnofalse
uploadUpload the artifact. Useful if you need to grab them for downstream things like code signing.notrue
upload-keyUpload key for the artifact. Useful if want to override outputs.artifact-key with a specific value.no""
namedescription
fileThe path to the generated binary.
artifact-keyThe artifact upload key.