From f1f4f6252372f525c8d792eefed480a1e40ff4ab Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann Date: Sat, 21 Oct 2023 03:00:15 +0200 Subject: [PATCH] feat: automatically publish to npm --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 883cc0d..653d099 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,3 +48,10 @@ jobs: tag_name: ${{ steps.changelog.outputs.tag }} release_name: ${{ steps.changelog.outputs.tag }} body: ${{ steps.changelog.outputs.clean_changelog }} + + - name: Publish + uses: JS-DevTools/npm-publish@v3 + if: ${{ steps.changelog.outputs.skipped == 'false' }} + with: + access: public + token: ${{ secrets.NPM_TOKEN }}