Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Add `minimum-change-threshold` to bundle size job and ignore language files (#1720)

Krystle Salazarb0a4b3ab5452
diff --git a/.github/workflows/bundle_size.yml b/.github/workflows/bundle_size.yml
index 3e114b22d..10a5813a8 100644
--- a/.github/workflows/bundle_size.yml
+++ b/.github/workflows/bundle_size.yml
@@ -45,3 +45,5 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# Only measure changes in the client, we don't care much about the size of the server bundles (I don't think?)
pattern: "./.nuxt/dist/client/**/*.{modern.js,js,css}"
+ exclude: "{./.nuxt/dist/client/lang-*.json.js,./.nuxt/dist/client/lang-*.json.modern.js}"
+ minimum-change-threshold: 10