Skip to content

Commit 75aa007

Browse files
authored
ci: Fix size-limit action on develop branches (#13585)
Noticed this was failing on develop e.g. here: https://github.com/getsentry/sentry-javascript/actions/runs/10699493008/job/29661468888
1 parent a7a8b80 commit 75aa007

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev-packages/size-limit-gh-action/index.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ async function run() {
191191
}
192192

193193
async function runSizeLimitOnComparisonBranch() {
194+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
194195
const resultsFilePath = getResultsFilePath();
195196

196197
const limit = new SizeLimitFormatter();

0 commit comments

Comments
 (0)