Notably, this gets us `@actions/github` 6.0.1, which is necessary for `github.context.runAttempt` (so I have also updated `package.json` accordingly). On that note... great job following semver, GitHub! Between this and the non-breaking major version change on `@actions/cache`, I'm starting to feel like nobody on the Actions team understands how software versioning works.
17 lines
364 B
TypeScript
17 lines
364 B
TypeScript
/**
|
|
* Represents any possible JSON value:
|
|
* - number
|
|
* - string
|
|
* - boolean
|
|
* - null
|
|
* - object (with any JSON value as property)
|
|
* - array (with any JSON value as element)
|
|
*/
|
|
export type JsonValue = number | string | boolean | null | JsonObject | JsonValue[];
|
|
/**
|
|
* Represents a JSON object.
|
|
*/
|
|
export type JsonObject = {
|
|
[k: string]: JsonValue;
|
|
};
|