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

573 B

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