Gleb Koval
53ba27bd11
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline was successful
Details
ci/woodpecker/push/wasm-o-x-rust Pipeline was successful
Details
|
||
---|---|---|
.. | ||
Dockerfile | ||
README.md | ||
plugin.sh |
README.md
wasm-pack plugin
This is a drone/woodpecker plugin for building and publishing wasm-pack packages.
When using this plugin it is best to pull every time since it can be updated often internally.
Settings
actions
(required): Actions (see below) to runfolder
: Project folderscope
: NPM package scope
Build
profile
(default=release
): Build profile to use forwasm-pack build
target
(default=bundler
): Target to build formake
: Optionally run a make target building
Publish
username
(required): NPM registry usernametoken
(required): NPM registry auth token (secret recommended)registry
(default=https://registry.npmjs.org
): NPM registry to publish to
Example
Taken from wasm-o-x-rust.yml
pipeline:
build and publish:
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
settings:
actions: build,publish
folder: wasm/o-x-rust
scope: game-algorithms
username: cyclane
token:
from_secret: DEPLOY_TOKEN
registry: https://git.koval.net/api/packages/cyclane/npm/