QmcWasm/.github/workflows/publish.yml

25 lines
420 B
YAML
Raw Normal View History

2023-01-19 16:07:55 +00:00
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 }}