File tree Expand file tree Collapse file tree 3 files changed +283
-86
lines changed
dev-packages/size-limit-gh-action Expand file tree Collapse file tree 3 files changed +283
-86
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { promises as fs } from 'node:fs';
22import path from 'node:path' ;
33import { fileURLToPath } from 'node:url' ;
44
5- import * as artifact from '@actions/artifact' ;
5+ import { DefaultArtifactClient } from '@actions/artifact' ;
66import * as core from '@actions/core' ;
77import { exec } from '@actions/exec' ;
88import { context , getOctokit } from '@actions/github' ;
@@ -195,7 +195,7 @@ async function runSizeLimitOnComparisonBranch() {
195195 const resultsFilePath = getResultsFilePath ( ) ;
196196
197197 const limit = new SizeLimitFormatter ( ) ;
198- const artifactClient = artifact . create ( ) ;
198+ const artifactClient = new DefaultArtifactClient ( ) ;
199199
200200 const { output : baseOutput } = await execSizeLimit ( ) ;
201201
Original file line number Diff line number Diff line change 1414 "fix" : " eslint . --format stylish --fix"
1515 },
1616 "dependencies" : {
17- "@actions/artifact" : " 1 .1.2 " ,
17+ "@actions/artifact" : " 2 .1.11 " ,
1818 "@actions/core" : " 1.10.1" ,
1919 "@actions/exec" : " 1.1.1" ,
2020 "@actions/github" : " ^5.0.0" ,
You can’t perform that action at this time.
0 commit comments