Skip to content

Commit

Permalink
Add workflow to deprecate sdk version (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee authored Jun 6, 2024
1 parent 41a17d6 commit 1502470
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deprecate_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deprecate X-Ray Node SDK Version
on:
workflow_dispatch:

jobs:
deprecate_xray_node_sdk_version:
name: Deprecate X-Ray Node SDK version in NPM registry
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- run: npm install -g [email protected]

- name: Deprecate Version 3.7.0
run: |
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 1502470

Please sign in to comment.