game-algorithms/tools/wasm-pack-plugin/README.md

21 lines
573 B
Markdown
Raw Normal View History

2022-08-06 20:32:27 +00:00
# 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