@smbcloud / cli / commits / 55f7203

Set NODE_AUTH_TOKEN for NPM publish steps in CI workflow

Seto Elkahfi committed Apr 6, 2026 at 12:01 UTC 55f7203f67b0669a2ed80dc6c10a4ec423dc6b49
1 file changed +4
.github/workflows/release-npm.yml
+4
@@ -124,6 +124,8 @@ jobs:
124 registry-url: "https://registry.npmjs.org"
125
126 - name: Publish to NPM
127 + env:
128 + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
129 shell: bash
130 run: |
131 # We want to name our npm package @smbcloud/cli, but the main command is smb.
@@ -198,6 +200,8 @@ jobs:
200 registry-url: "https://registry.npmjs.org"
201
202 - name: Publish the package
203 + env:
204 + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
205 shell: bash
206 run: |
207 cd npm/smbcloud-cli