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';
10
10
import bytes from 'bytes' ;
11
11
import { markdownTable } from 'markdown-table' ;
12
12
13
- import download from 'github-fetch-workflow-artifact' ;
13
+ import * as download from 'github-fetch-workflow-artifact' ;
14
14
15
15
const SIZE_LIMIT_HEADING = '## size-limit report 📦 ' ;
16
16
const ARTIFACT_NAME = 'size-limit-action' ;
@@ -238,7 +238,7 @@ async function run() {
238
238
239
239
// Ignore failures here as it is likely that this only happens when introducing size-limit
240
240
// and this has not been run on the main branch yet
241
- const res = await download ( octokit , {
241
+ const res = await download . default ( octokit , {
242
242
...repo ,
243
243
artifactName : ARTIFACT_NAME ,
244
244
branch : comparisonBranch ,
@@ -251,7 +251,7 @@ async function run() {
251
251
base = JSON . parse ( await fs . readFile ( resultsFilePath , { encoding : 'utf8' } ) ) ;
252
252
} catch ( error ) {
253
253
core . startGroup ( 'Warning, unable to find base results' ) ;
254
- core . warning ( error ) ;
254
+ core . error ( error ) ;
255
255
core . endGroup ( ) ;
256
256
}
257
257
You can’t perform that action at this time.
0 commit comments