File tree 3 files changed +283
-86
lines changed
dev-packages/size-limit-gh-action
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';
2
2
import path from 'node:path' ;
3
3
import { fileURLToPath } from 'node:url' ;
4
4
5
- import * as artifact from '@actions/artifact' ;
5
+ import { DefaultArtifactClient } from '@actions/artifact' ;
6
6
import * as core from '@actions/core' ;
7
7
import { exec } from '@actions/exec' ;
8
8
import { context , getOctokit } from '@actions/github' ;
@@ -195,7 +195,7 @@ async function runSizeLimitOnComparisonBranch() {
195
195
const resultsFilePath = getResultsFilePath ( ) ;
196
196
197
197
const limit = new SizeLimitFormatter ( ) ;
198
- const artifactClient = artifact . create ( ) ;
198
+ const artifactClient = new DefaultArtifactClient ( ) ;
199
199
200
200
const { output : baseOutput } = await execSizeLimit ( ) ;
201
201
Original file line number Diff line number Diff line change 14
14
"fix" : " eslint . --format stylish --fix"
15
15
},
16
16
"dependencies" : {
17
- "@actions/artifact" : " 1 .1.2 " ,
17
+ "@actions/artifact" : " 2 .1.11 " ,
18
18
"@actions/core" : " 1.10.1" ,
19
19
"@actions/exec" : " 1.1.1" ,
20
20
"@actions/github" : " ^5.0.0" ,
You can’t perform that action at this time.
0 commit comments