-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to deprecate sdk version (#659)
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
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 }} |