File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev-packages/size-limit-gh-action Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import * as glob from '@actions/glob';
1010import bytes from 'bytes' ;
1111import { markdownTable } from 'markdown-table' ;
1212
13- import download from 'github-fetch-workflow-artifact' ;
13+ import * as download from 'github-fetch-workflow-artifact' ;
1414
1515const SIZE_LIMIT_HEADING = '## size-limit report 📦 ' ;
1616const ARTIFACT_NAME = 'size-limit-action' ;
@@ -238,7 +238,7 @@ async function run() {
238238
239239 // Ignore failures here as it is likely that this only happens when introducing size-limit
240240 // and this has not been run on the main branch yet
241- const res = await download ( octokit , {
241+ const res = await download . default ( octokit , {
242242 ...repo ,
243243 artifactName : ARTIFACT_NAME ,
244244 branch : comparisonBranch ,
@@ -251,7 +251,7 @@ async function run() {
251251 base = JSON . parse ( await fs . readFile ( resultsFilePath , { encoding : 'utf8' } ) ) ;
252252 } catch ( error ) {
253253 core . startGroup ( 'Warning, unable to find base results' ) ;
254- core . warning ( error ) ;
254+ core . error ( error ) ;
255255 core . endGroup ( ) ;
256256 }
257257
You can’t perform that action at this time.
0 commit comments