Skip to content

Commit 7ffb0f4

Browse files
chore: mark all size reporter jobs as optional (#1624)
1 parent 4137dcb commit 7ffb0f4

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: Install project dependencies
2828
run: npm ci
2929
- name: Report lite size to NR
30+
continue-on-error: true
3031
uses: newrelic-apps/capture-build-size@v1.0.1
3132
with:
3233
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -36,6 +37,7 @@ jobs:
3637
file-name-filter: '.min.js'
3738
trigger: 'nightly'
3839
- name: Report pro size to NR
40+
continue-on-error: true
3941
uses: newrelic-apps/capture-build-size@v1.0.1
4042
with:
4143
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -45,6 +47,7 @@ jobs:
4547
file-name-filter: '.min.js'
4648
trigger: 'nightly'
4749
- name: Report spa size to NR
50+
continue-on-error: true
4851
uses: newrelic-apps/capture-build-size@v1.0.1
4952
with:
5053
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}

.github/workflows/publish-dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
asset_path: ${{ join(fromJson(steps.s3-upload.outputs.results).*.Key, ' ') }}
8484
# This step creates a new Change Tracking Marker
8585
- name: New Relic Application Deployment Marker
86+
continue-on-error: true
8687
uses: newrelic/deployment-marker-action@v2.3.0
8788
with:
8889
apiKey: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -91,13 +92,15 @@ jobs:
9192
version: "${{ github.ref_name }}"
9293
user: "${{ github.actor }}"
9394
- name: Get local stats
95+
continue-on-error: true
9496
id: get-stats
9597
shell: bash
9698
run: |
9799
rum=$(cat ./build/nr-rum-standard.stats.json); echo "rum=$rum" >> $GITHUB_OUTPUT;
98100
full=$(cat ./build/nr-full-standard.stats.json); echo "full=$full" >> $GITHUB_OUTPUT;
99101
spa=$(cat ./build/nr-spa-standard.stats.json); echo "spa=$spa" >> $GITHUB_OUTPUT;
100102
- name: Report lite size to NR
103+
continue-on-error: true
101104
uses: newrelic-apps/capture-build-size@v1.0.1
102105
with:
103106
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -108,6 +111,7 @@ jobs:
108111
trigger: 'publish-dev'
109112
traverse: true
110113
- name: Report pro size to NR
114+
continue-on-error: true
111115
uses: newrelic-apps/capture-build-size@v1.0.1
112116
with:
113117
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -118,6 +122,7 @@ jobs:
118122
trigger: 'publish-dev'
119123
traverse: true
120124
- name: Report spa size to NR
125+
continue-on-error: true
121126
uses: newrelic-apps/capture-build-size@v1.0.1
122127
with:
123128
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}

.github/workflows/publish-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ jobs:
300300
full=$(cat ./build/nr-full-standard-${{ steps.agent-loader-version.outputs.results }}.stats.json); echo "full=$full" >> $GITHUB_OUTPUT;
301301
spa=$(cat ./build/nr-spa-standard-${{ steps.agent-loader-version.outputs.results }}.stats.json); echo "spa=$spa" >> $GITHUB_OUTPUT;
302302
- name: Report lite size to NR
303+
continue-on-error: true
303304
uses: newrelic-apps/capture-build-size@v1.0.1
304305
with:
305306
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -310,6 +311,7 @@ jobs:
310311
trigger: 'publish-release'
311312
version: v${{ steps.agent-loader-version.outputs.results }}
312313
- name: Report pro size to NR
314+
continue-on-error: true
313315
uses: newrelic-apps/capture-build-size@v1.0.1
314316
with:
315317
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -320,6 +322,7 @@ jobs:
320322
trigger: 'publish-release'
321323
version: v${{ steps.agent-loader-version.outputs.results }}
322324
- name: Report spa size to NR
325+
continue-on-error: true
323326
uses: newrelic-apps/capture-build-size@v1.0.1
324327
with:
325328
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}

.github/workflows/pull-request-checks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ jobs:
145145
full=$(cat ./build/nr-full-standard.stats.json); echo "full=$full" >> $GITHUB_OUTPUT;
146146
spa=$(cat ./build/nr-spa-standard.stats.json); echo "spa=$spa" >> $GITHUB_OUTPUT;
147147
- name: Report lite size to NR
148+
continue-on-error: true
148149
uses: newrelic-apps/capture-build-size@v1.0.1
149150
with:
150151
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -154,6 +155,7 @@ jobs:
154155
file-name-filter: '.min.js'
155156
trigger: 'pull-request-checks'
156157
- name: Report pro size to NR
158+
continue-on-error: true
157159
uses: newrelic-apps/capture-build-size@v1.0.1
158160
with:
159161
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -163,6 +165,7 @@ jobs:
163165
file-name-filter: '.min.js'
164166
trigger: 'pull-request-checks'
165167
- name: Report spa size to NR
168+
continue-on-error: true
166169
uses: newrelic-apps/capture-build-size@v1.0.1
167170
with:
168171
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -172,6 +175,7 @@ jobs:
172175
file-name-filter: '.min.js'
173176
trigger: 'pull-request-checks'
174177
- name: Report dev lite size to NR
178+
continue-on-error: true
175179
uses: newrelic-apps/capture-build-size@v1.0.1
176180
with:
177181
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -182,6 +186,7 @@ jobs:
182186
trigger: 'pull-request-checks'
183187
version: 'main'
184188
- name: Report dev pro size to NR
189+
continue-on-error: true
185190
uses: newrelic-apps/capture-build-size@v1.0.1
186191
with:
187192
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}
@@ -192,6 +197,7 @@ jobs:
192197
trigger: 'pull-request-checks'
193198
version: 'main'
194199
- name: Report dev spa size to NR
200+
continue-on-error: true
195201
uses: newrelic-apps/capture-build-size@v1.0.1
196202
with:
197203
nr-api-key: ${{ secrets.INTERNAL_STAGING_INGEST_LICENSE_KEY }}

0 commit comments

Comments
 (0)