File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,13 @@ parameters:
8
8
type : boolean
9
9
default : false
10
10
- name : TOP_REPOS
11
- displayName : Query Github for top TS repos by stars
11
+ displayName : Whether to query Github for top TS repos by stars. If false, uses the user test suite.
12
12
type : boolean
13
13
default : false
14
+ - name : REPO_COUNT
15
+ displayName : Number of repositories to run on for when TOP_REPOS is set to true.
16
+ type : number
17
+ default : 100
14
18
- name : OLD_TS_REPO_URL
15
19
displayName : Old Typscript Repo Url
16
20
type : string
66
70
npm ci
67
71
npm run build
68
72
mkdir artifacts
69
- - script : node dist/listTopRepos TypeScript 100 0 artifacts/repos.json
73
+ - script : node dist/listTopRepos TypeScript ${{ parameters.REPO_COUNT }} 0 artifacts/repos.json
70
74
condition : eq('${{ parameters.TOP_REPOS }}', 'true')
71
75
env :
72
76
GITHUB_PAT : $(GITHUB_PAT)
You can’t perform that action at this time.
0 commit comments