You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/nightly.yml
+5-45Lines changed: 5 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -87,50 +87,10 @@ jobs:
87
87
88
88
deprecate-old-versions:
89
89
name: Deprecate Unsupported Versions
90
-
runs-on: ubuntu-latest
91
-
steps:
92
-
- name: Set up Node.js
93
-
uses: actions/setup-node@v4
94
-
with:
95
-
node-version: 22.11.0 # See package.json for the stable node version that works with our testing. Do not change this unless you know what you are doing as some node versions do not play nicely with our testing server.
96
-
- name: Authenticate with npm
97
-
run: npm config set "//registry.npmjs.org/:_authToken" "${{ secrets.BROWSER_NPM_TOKEN }}"
98
-
- name: Deprecate old versions
99
-
shell: bash
100
-
run: |
101
-
# Get agent EoL table from NRQL
102
-
response=$(curl -X POST https://api.newrelic.com/graphql \
eol_table=$(echo "$response" | jq -r '.data.docs.agentReleases | map({(.version): .eolDate}) | add') # this is a map of version string to EoL date in yyyy-mm-dd format
node-version: 22.11.0 # See package.json for the stable node version that works with our testing. Do not change this unless you know what you are doing as some node versions do not play nicely with our testing server.
38
-
- name: Authenticate npm
39
-
shell: bash
40
-
run: |
41
-
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
Copy file name to clipboardExpand all lines: .github/workflows/publish-release.yml
+9-23Lines changed: 9 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -222,29 +222,15 @@ jobs:
222
222
# environment: stage
223
223
224
224
# Publish the agent to npmjs.org
225
-
publish-npm:
226
-
needs: [publish-prod-to-s3]
227
-
runs-on: ubuntu-latest
228
-
timeout-minutes: 30
229
-
defaults:
230
-
run:
231
-
shell: bash
232
-
env:
233
-
NPM_TOKEN: ${{ secrets.BROWSER_NPM_TOKEN }}
234
-
steps:
235
-
- uses: actions/checkout@v4
236
-
- uses: actions/setup-node@v4
237
-
with:
238
-
node-version: 22.11.0 # See package.json for the stable node version that works with our testing. Do not change this unless you know what you are doing as some node versions do not play nicely with our testing server.
239
-
- name: Authenticate npm
240
-
run: |
241
-
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
node-version: 22.11.0 # See package.json for the stable node version that works with our testing. Do not change this unless you know what you are doing as some node versions do not play nicely with our testing server.
47
-
- name: Authenticate npm
48
-
shell: bash
49
-
run: |
50
-
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
0 commit comments