Deprecate NPM Package #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deprecate NPM Package | |
on: | |
workflow_dispatch: # Allows the workflow to be triggered manually | |
jobs: | |
deprecate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@4 | |
with: | |
node-version: 20.12.2 | |
- name: Deprecate NPM package | |
run: npm deprecate @adyen/adyen-web@3.x "Version 3.x of @adyen/adyen-web will no longer be supported after October 1, 2025. Please migrate to the latest version by following the migration guide at https://docs.adyen.com/online-payments/upgrade-your-integration/migrate-to-web-v6/from-v3/" | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |