Update tests to expect warnings instead of errors for non-5xx cache failures

Co-authored-by: Link- <[email protected]>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-14 12:07:37 +00:00
co-authored by Link-
parent 513216f1dd
commit cf3aaeb491
20 changed files with 90693 additions and 18 deletions
+18
View File
@@ -0,0 +1,18 @@
> @actions/[email protected] tsc
> tsc
src/io-util.ts(1,21): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
src/io-util.ts(2,23): error TS2307: Cannot find module 'path' or its corresponding type declarations.
src/io-util.ts(20,27): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io-util.ts(171,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io-util.ts(172,21): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io-util.ts(174,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io-util.ts(175,21): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io-util.ts(181,10): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io.ts(1,18): error TS2307: Cannot find module 'assert' or its corresponding type declarations.
src/io.ts(2,23): error TS2307: Cannot find module 'path' or its corresponding type declarations.
src/io.ts(200,28): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io.ts(201,29): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io.ts(232,7): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
src/io.ts(233,21): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.