GitHub action for publishing to WAPM. Works well with wasmerio/setup-wasmer.
- Suppresses output (Prevent leaking credentials)
- Cross platform (Linux, Mac, and Windows)
- Fully tested
- Requires WAPM to already be installed (Use wasmerio/setup-wasmer)
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v1
- name: Publish to WAPM
uses: wasmerio/wapm-publish@v1
with:
username: ${{ secrets.WAPM_USERNAME }}
password: ${{ secrets.WAPM_PASSWORD }}
# OR with a token that you can generate from https://wapm.io/settings/access-tokens
token: ${{ secrets.WAPM_TOKEN }}
Name | Required | Description |
---|---|---|
token |
〰️ | WAPM account token |
username |
〰️ | WAPM account username (will be used only if token is not provided) |
password |
〰️ | WAPM access password (will be used only if token is not provided) |
directory |
no | Package directory (defaults to the current working directory) |
registry |
no | The registry url (defaults to https://registry.wapm.io/) |
There is no output from this action
You can develop this action with npm and node:
npm i
WAPM_USERNAME=x WAPM_PASSWORD=y WAPM_TOKEN=z npm test