From 70df4ef5815f99b9108183f8c0bdb95670fcb7be Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Wed, 4 Sep 2024 12:26:44 +0200 Subject: [PATCH] ci: Fix size-limit action on develop branches --- dev-packages/size-limit-gh-action/index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-packages/size-limit-gh-action/index.mjs b/dev-packages/size-limit-gh-action/index.mjs index 680d12237bf5..848802256853 100644 --- a/dev-packages/size-limit-gh-action/index.mjs +++ b/dev-packages/size-limit-gh-action/index.mjs @@ -191,6 +191,7 @@ async function run() { } async function runSizeLimitOnComparisonBranch() { + const __dirname = path.dirname(fileURLToPath(import.meta.url)); const resultsFilePath = getResultsFilePath(); const limit = new SizeLimitFormatter();