From 4a2cdbf2999f89f41736bc5a2cbc309f174dcaa4 Mon Sep 17 00:00:00 2001 From: Will Jones Date: Fri, 4 Apr 2025 14:44:58 -0700 Subject: [PATCH] ci: provide token for deprecate call (#2309) This should prevent the failures we are seeing in Node release. ## Summary by CodeRabbit - **Chore** - Enhanced the package deprecation process with improved security measures, ensuring smoother and more reliable updates during package deprecation. --- .github/workflows/npm-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 67abf170..f498e348 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -532,6 +532,8 @@ jobs: npm publish $PUBLISH_ARGS $filename done - name: Deprecate + env: + NODE_AUTH_TOKEN: ${{ secrets.LANCEDB_NPM_REGISTRY_TOKEN }} # We need to deprecate the old package to avoid confusion. # Each time we publish a new version, it gets undeprecated. run: npm deprecate vectordb "Use @lancedb/lancedb instead."