Skip to content

Commit 1502470

Browse files
authored
Add workflow to deprecate sdk version (#659)
1 parent 41a17d6 commit 1502470

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Deprecate X-Ray Node SDK Version
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
deprecate_xray_node_sdk_version:
7+
name: Deprecate X-Ray Node SDK version in NPM registry
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Setup Node
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: '16.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
16+
- run: npm install -g [email protected]
17+
18+
- name: Deprecate Version 3.7.0
19+
run: |
20+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
21+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
22+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
23+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
24+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
25+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
26+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
27+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
28+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
29+
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)