@smbcloud / cli / commits / 831ce02

Remove unused NODE_AUTH_TOKEN from NPM publish step

Seto Elkahfi committed Mar 28, 2026 at 22:36 UTC 831ce0205a407d160af5f848a2aa8290b0b8b854
1 file changed -4
.github/workflows/release-npm.yml
-4
@@ -156,8 +156,6 @@ jobs:
156 fi
157 cp "../target/${{ matrix.build.TARGET }}/release/${cargo_bin}" "${node_pkg}/bin"
158 # publish the package
159 - # New platform package names must be bootstrapped with NODE_AUTH_TOKEN once
160 - # before npm trusted publishing can be configured for them.
159 cd "${node_pkg}"
160 npm_package_name="@smbcloud/${node_pkg}"
161 if npm view "${npm_package_name}@${node_version}" version >/dev/null 2>&1; then
@@ -165,8 +163,6 @@ jobs:
163 exit 0
164 fi
165 npm publish --access public
168 - env:
169 - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
166
167 publish-npm-base:
168 name: Publish the base NPM package