-
Notifications
You must be signed in to change notification settings - Fork 156
33 lines (30 loc) · 1.56 KB
/
deprecate_version.yml
File metadata and controls
33 lines (30 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Deprecate X-Ray Node SDK Version
permissions:
contents: read
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@f1f314fca9dfce2769ece7d933488f076716723e #v1.4.6
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm@8.19.4
- name: Deprecate Version 3.7.0
run: |
npm deprecate aws-xray-sdk@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-core@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-express@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-postgres@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-mysql@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-restify@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-hapi@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-koa2@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-fastify@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate aws-xray-sdk-fetch@3.7.0 "3.7.0 is deprecated due to known issue in Lambda"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}