File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 28
28
- attach_workspace :
29
29
at : .
30
30
- run : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
31
- - run : npm publish
31
+ - run : npm publish --tag test-release
32
32
# dont change anything
33
33
workflows :
34
34
version : 2
Original file line number Diff line number Diff line change @@ -64,6 +64,18 @@ class SubmissionsService {
64
64
. then ( res => res . result ) ;
65
65
}
66
66
67
+ /**
68
+ * Get submission artifacts of challenge
69
+ * @param {Object } submissionId
70
+ * @return {Promise } Resolves to the api response.
71
+ */
72
+ async getSubmissionArtifacts ( submissionId ) {
73
+ const url = `/submissions/${ submissionId } /artifacts` ;
74
+ return this . private . apiV5 . get ( url )
75
+ . then ( checkErrorV5 )
76
+ . then ( res => res . result ) ;
77
+ }
78
+
67
79
/**
68
80
* Get scan reviews types
69
81
* @returns {Promise } Resolves to the api response.
You can’t perform that action at this time.
0 commit comments