ci: publish to npm (#266)

Carlos Alexandro Becker created

* ci: publish to npm

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: job

* fix: drop keywords

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Change summary

.github/workflows/release.yml | 1 +
.goreleaser.yml               | 6 ++++++
2 files changed, 7 insertions(+)

Detailed changes

.github/workflows/release.yml 🔗

@@ -20,3 +20,4 @@ jobs:
       fury_token: ${{ secrets.FURY_TOKEN }}
       nfpm_gpg_key: ${{ secrets.NFPM_GPG_KEY }}
       nfpm_passphrase: ${{ secrets.NFPM_PASSPHRASE }}
+      npm_token: ${{ secrets.NPM_TOKEN }}

.goreleaser.yml 🔗

@@ -111,6 +111,12 @@ homebrew_casks:
       owner: charmbracelet
       name: homebrew-tap
 
+npms:
+  - name: "@charmland/crush"
+    repository: "git+https://github.com/charmbracelet/crush.git"
+    bugs: https://github.com/charmbracelet/crush/issues
+    access: public
+
 nfpms:
   - formats:
       - deb