21 lines
573 B
Markdown
21 lines
573 B
Markdown
# wasm-pack plugin
|
|
|
|
This is a drone/woodpecker plugin for building and publishing wasm-pack packages.
|
|
|
|
## Settings
|
|
|
|
- `actions` (required): Actions (see below) to run
|
|
- `folder`: Project folder
|
|
- `scope`: NPM package scope
|
|
|
|
### Build
|
|
|
|
- `build_profile` (default=`release`): Build profile to use for `wasm-pack build`
|
|
- `make`: Optionally run a make target building
|
|
|
|
### Publish
|
|
|
|
- `username` (required): NPM registry username
|
|
- `token` (required): NPM registry auth token (secret recommended)
|
|
- `registry` (default=`https://registry.npmjs.org`): NPM registry to publish to
|