Skip to content

Commit f25142d

Browse files
committed
revert
1 parent e67a77f commit f25142d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev-packages/node-overhead-gh-action/index.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ async function run() {
172172
}
173173

174174
async function runNodeOverheadOnComparisonBranch() {
175+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
175176
const resultsFilePath = getResultsFilePath();
176177

177178
const artifactClient = new DefaultArtifactClient();
@@ -190,7 +191,7 @@ async function runNodeOverheadOnComparisonBranch() {
190191
});
191192
const files = await globber.glob();
192193

193-
await artifactClient.uploadArtifact(ARTIFACT_NAME, files);
194+
await artifactClient.uploadArtifact(ARTIFACT_NAME, files, __dirname);
194195
}
195196

196197
run();

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ async function run() {
208208
}
209209

210210
async function runSizeLimitOnComparisonBranch() {
211+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
211212
const resultsFilePath = getResultsFilePath();
212213

213214
const limit = new SizeLimitFormatter();
@@ -228,7 +229,7 @@ async function runSizeLimitOnComparisonBranch() {
228229
});
229230
const files = await globber.glob();
230231

231-
await artifactClient.uploadArtifact(ARTIFACT_NAME, files);
232+
await artifactClient.uploadArtifact(ARTIFACT_NAME, files, __dirname);
232233
}
233234

234235
run();

0 commit comments

Comments
 (0)