From 8e94e811dcbb9540e99c3184ebf80d72e6fad0ec Mon Sep 17 00:00:00 2001
From: Christoph Witzko <github@christophwitzko.com>
Date: Thu, 26 May 2022 19:50:00 +0200
Subject: [PATCH] feat: use npm-binary-releaser hooks plugin

---
 .github/workflows/ci.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4d51c6e..977279f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -64,13 +64,8 @@ jobs:
         id: semrel
         with:
           bin: ./semantic-release
-          hooks: goreleaser
+          hooks: goreleaser,npm-binary-releaser
           prerelease: true
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      - run: |
-          npm i -g npm-binary-releaser
-          npm-binary-releaser -r ${{steps.semrel.outputs.version}}
-        env:
           NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
-        if: steps.semrel.outputs.version != ''
-- 
GitLab