mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-04 02:42:57 +00:00
ci: provide token for deprecate call (#2309)
This should prevent the failures we are seeing in Node release. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chore** - Enhanced the package deprecation process with improved security measures, ensuring smoother and more reliable updates during package deprecation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
2
.github/workflows/npm-publish.yml
vendored
2
.github/workflows/npm-publish.yml
vendored
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user