Skip to content

Commit 1a08b57

Browse files
Create deprecate-npm-package.yml (#2884)
1 parent 5c35298 commit 1a08b57

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deprecate NPM Package
2+
3+
on:
4+
workflow_dispatch: # Allows the workflow to be triggered manually
5+
6+
jobs:
7+
deprecate:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@4
16+
with:
17+
node-version: 20.12.2
18+
19+
- name: Deprecate NPM package
20+
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/"
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)