Skip to content

Commit f95b7c9

Browse files
authored
Merge pull request #281 from gadget-inc/independent-bundle-sizes
Send multiple bundle sizes to relative ci
2 parents 5dd4b4b + 86dc0f1 commit f95b7c9

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,21 @@ jobs:
4848
run: pnpm build
4949
- name: Build test bundles
5050
run: pnpm -F=test-bundles test-build
51-
- name: Send bundle stats to RelativeCI
51+
- name: Send imperative bundle stats to RelativeCI
52+
uses: relative-ci/agent-action@v2
53+
with:
54+
webpackStatsFile: ./packages/test-bundles/dist/api-read-webpack-stats.json
55+
key: ${{ secrets.RELATIVE_CI_IMPERATIVE_CLIENT_BUNDLE_KEY }}
56+
token: ${{ secrets.GITHUB_TOKEN }}
57+
- name: Send react bundle stats to RelativeCI
5258
uses: relative-ci/agent-action@v2
5359
with:
5460
webpackStatsFile: ./packages/test-bundles/dist/react-read-webpack-stats.json
55-
key: ${{ secrets.RELATIVE_CI_KEY }}
61+
key: ${{ secrets.RELATIVE_CI_REACT_BUNDLE_KEY }}
62+
token: ${{ secrets.GITHUB_TOKEN }}
63+
- name: Send shopify bundle stats to RelativeCI
64+
uses: relative-ci/agent-action@v2
65+
with:
66+
webpackStatsFile: ./packages/test-bundles/dist/shopify-read-webpack-stats.json
67+
key: ${{ secrets.RELATIVE_CI_SHOPIFY_BUNDLE_KEY }}
5668
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)