From 864d09766b295757af8a5b58a537fe5147e18d78 Mon Sep 17 00:00:00 2001 From: Ryan Yang Date: Wed, 17 Jun 2026 13:37:23 -0700 Subject: [PATCH] add deprecation workflow --- .github/workflows/deprecate.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deprecate.yml diff --git a/.github/workflows/deprecate.yml b/.github/workflows/deprecate.yml new file mode 100644 index 00000000..cf022fe8 --- /dev/null +++ b/.github/workflows/deprecate.yml @@ -0,0 +1,19 @@ +name: npm deprecate + +on: + pull_request: + +jobs: + deprecate: + runs-on: ubuntu-latest + steps: + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + + - name: Deprecate package on npm + run: npm deprecate "@stellar/stellar-base" "This package is now rolled into @stellar/stellar-sdk. Please use @stellar/stellar-sdk to continue receiving updates and support." + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}