89 Commits

Author SHA1 Message Date
bethanyj28
6cf4fbcef8 add a comment 2024-02-23 15:33:24 -05:00
bethanyj28
ac84a9bee3 re-add noop logs and format + lint 2024-02-23 13:46:22 -05:00
bethanyj28
4256ea99c5 update test case and handling 2024-02-23 13:41:40 -05:00
bethanyj28
76489f433b attempt with comparing index 2024-02-23 11:59:36 -05:00
bethanyj28
e9005f7727 ensure no path traversal 2024-02-23 10:54:12 -05:00
bethanyj28
b956d8a4dd audit, lint, format 2024-02-22 17:55:53 -05:00
bethanyj28
81d5e48db0 update tests 2024-02-22 17:51:15 -05:00
bethanyj28
bc5b3a85ae use on entry 2024-02-22 17:16:32 -05:00
eggyhead
d134334a38 lint fixes 2024-01-31 16:51:04 +00:00
eggyhead
3b02a6fdc5 updating alowed hosts in isGhes check
updating alowed hosts in artifact ghes check

using dot prepend ghe host
2024-01-31 16:30:37 +00:00
Rob Herley
2f5fb3f92b
list for correct backend ids in internal delete 2024-01-17 17:53:49 -05:00
Rob Herley
b62d4c91b6
add public and internal methods to delete artifacts 2024-01-17 16:18:49 -05:00
Vallie Joseph
d617670abc updating timer; removing logs 2024-01-09 19:23:57 +00:00
Vallie Joseph
e19b629130 increasing timeout 2024-01-09 18:45:26 +00:00
Vallie Joseph
67d2d582dc adding delayed response to message body http mock 2024-01-09 16:44:12 +00:00
Vallie Joseph
9d70b8a9fb testing reject after timeout 2024-01-08 15:20:05 +00:00
Vallie Joseph
7f47ffaee2 committing v1 2023-12-22 03:51:47 +00:00
Vallie Joseph
98e1a813db testing ci 2023-12-21 20:22:20 +00:00
Vallie Joseph
0d39975814 updating test with blob timeouts 2023-12-21 18:31:01 +00:00
Vallie Joseph
f482643a6e updating timeout for retries 2023-12-21 15:10:01 +00:00
Rob Herley
16b786a545
better error message for usage limits 2023-12-11 22:01:08 -05:00
Rob Herley
a4bd0f1214
Add specific messages for network-specific node error codes 2023-12-11 17:07:48 -05:00
Rob Herley
09249a72d7
push null at end of mocked message 2023-12-11 13:41:11 -05:00
Vallie Joseph
950e1711a1
Improve error messages (duplicate artifacts; too many artifacts) (#1600)
* cleaning up error messages

* updating package-json

* updating package-lock

* .

* .

* testing return message

* updating error check

* adding test

* rmv unused var

* updating status code to match conflict message
2023-12-11 11:26:54 -05:00
Rob Herley
ce9eae0785
consistent promise behavior for download artifact 2023-12-05 18:35:26 +00:00
Rob Herley
d3c5f358d1
consistent promise behavior for get artifact 2023-12-05 17:56:18 +00:00
Rob Herley
75a3586061
consistent promise behavior for upload artifact 2023-12-05 17:35:46 +00:00
Rob Herley
ef454f0991
add tests for list-artifacts 2023-12-03 20:48:33 +00:00
Rob Herley
86ce0b159a
get artifact tests 2023-12-03 19:43:37 +00:00
Rob Herley
c11a7cdeac
wip 2023-12-03 06:24:49 +00:00
Rob Herley
281697ecbe
fix test expectations 2023-12-01 16:34:27 +00:00
Rob Herley
32549e8197
update download-artifact tests for public and internal impl 2023-12-01 01:32:45 +00:00
Rob Herley
22b7aeb707
some test updates 2023-12-01 00:31:27 +00:00
Rob Herley
82474125c8
use sha256 instead of md5 for artifact v4 integrity hash 2023-10-16 16:20:24 +00:00
Bethany
3d652d3133
Merge pull request #1505 from actions/bethanyj28/upload-tests
Add tests for `upload-artifact.ts`
2023-08-24 09:29:01 -04:00
Rob Herley
9d756b2bc9
linter 2023-08-24 09:16:35 -04:00
Rob Herley
67c3b7a45c
add tests for download artifact 2023-08-23 23:18:03 -04:00
Bethany
3963c722d8 merge download changes and lint 2023-08-23 14:02:50 -07:00
Bethany
3b44a4cc23 prettier 2023-08-23 13:55:26 -07:00
Bethany
03a876f0a7 add tests for upload 2023-08-23 13:54:31 -07:00
Bethany
58858b5078 don't use non-null assertions 2023-08-09 17:48:53 -07:00
Bethany
188abfc20b implement feedback 2023-08-09 17:42:14 -07:00
Bethany
2f42c127c7 update tests 2023-08-09 13:20:06 -07:00
Bethany
4b219f79f3 Add tests for backend id fetch 2023-08-09 12:29:43 -07:00
Bethany
24da3e2d1c lint 2023-08-09 07:10:43 -07:00
Bethany
c0684c5add prettier 2023-08-08 13:19:43 -07:00
Bethany
e85cd96d85 tests and fix bug for retry 2023-08-08 12:49:05 -07:00
Bethany
af1621025d wip 2023-08-07 16:26:07 -07:00
Bethany
6552cb9722 wip 2023-08-07 14:24:58 -07:00
Bethany
efcab31d38 pass in http client to constructor 2023-08-07 08:43:39 -07:00