KgmWasm/.github/workflows/publish.yml
xhacker-zzz d00e736d99 add ci
2023-01-20 00:20:27 +08:00

25 lines
420 B
YAML

name: "Publish"
on:
workflow_dispatch:
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Autobuild
run: bash build-wasm
- name: Publish Package
run: cd npm; npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}