teveltech/Composite NPM Packaging Action

A composite action for packaging Node.js applications with npm/pkg

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
node-versionNode.js version to useno20
registry-urlnpm registry URLnohttps://npm.pkg.github.com
package-dirDirectory containing package.jsonno.
package-commandCommand to package the applicationnonpm run package
test-commandCommand to test the applicationnonpm test
publish-commandCommand to publish the packagenonpm publish
tokenNPM token for publishingyes
tagNPM tag to use when publishingnolatest
new-tagVersion to set in package.jsonno
scopeNPM scope (without @)no
accessAccess level (public or restricted)nopublic
skip-testsSkip running testsnofalse
skip-publishSkip publishing to npmnofalse
skip-pkgSkip pkg executable packaging (for library packages)nofalse
pre-publish-scriptScript to run before publishingno
pkg-targetsComma-separated list of pkg targets (e.g., node18-linux-x64,node18-win-x64)no
pkg-output-dirOutput directory for packaged binariesnodist
entry-pointEntry point for pkg (defaults to package.json main)no
registry-auth-prefixOverride auth host/path for npmrc (e.g., jfrog.local:8081/artifactory/api/npm/tevel-npm/)no
skip-if-existsSkip publish if version already exists in the registrynofalse
namedescription
versionThe version of the published package
package-nameThe name of the published package
package-fullThe full name and version of the published package
binaries-dirDirectory containing the packaged binaries