This Action for npx enables arbitrary actions with the npx
command-line client, which will pull down, install and run arbitrary command line interfaces from npm.
An example workflow to build, test, and publish an npm package to the default public registry follows:
workflow "Build" {
on = "push"
resolves = ["Publish"]
}
action "Build w/ Webpack" {
uses = "mikeal/npx@master"
args = "webpack"
}
NPM_AUTH_TOKEN
- Optional. The token to use for authentication with the npm registry. Required fornpm publish
(more info)
NPM_REGISTRY_URL
- Optional. To specify a registry to authenticate with. Defaults toregistry.npmjs.org
NPM_STRICT_SSL
- Optional. Specify false if your registry is insecure and uses thehttp
protocol. Defaults totrue
NPM_CONFIG_USERCONFIG
- Optional. To specify a non-default per-user configuration file. Defaults to$HOME/.npmrc
(more info)
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.
Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.