QmcWasm/.github/workflows/publish.yml
xhacker-zzz 1da9cbf1e4 add ci
2023-01-20 00:07:55 +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 }}