waforth/.github/workflows/publish-release.yml
2023-03-18 10:19:11 +01:00

19 lines
367 B
YAML

name: Publish Release
on:
release:
types: [created]
jobs:
build:
uses: ./.github/workflows/build.yml
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: yarnpkg publish --non-interactive
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}