@factorialco/gat 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/event.d.ts CHANGED
@@ -15,6 +15,7 @@ interface PullRequestReviewEventOptions {
15
15
  interface WorkflowRunEventOptions {
16
16
  workflows?: string[];
17
17
  types?: Array<"completed">;
18
+ branches?: string[];
18
19
  }
19
20
  interface WorkflowDispatchInput {
20
21
  description: string;
package/dist/job.d.ts CHANGED
@@ -18,6 +18,7 @@ export interface Service {
18
18
  env?: Record<string, string>;
19
19
  ports: string[];
20
20
  options?: string;
21
+ volumes?: string[];
21
22
  }
22
23
  export interface JobOptions<Step, Runner, Name> {
23
24
  prettyName?: string;
package/dist/step.d.ts CHANGED
@@ -5,6 +5,7 @@ export interface BaseStep {
5
5
  ifExpression?: string;
6
6
  workingDirectory?: string;
7
7
  continueOnError?: boolean;
8
+ timeout?: number;
8
9
  }
9
10
  export declare type Step = RunStep | UseStep;
10
11
  export interface RunStep extends BaseStep {
package/dist/workflow.js CHANGED
@@ -96,12 +96,13 @@ class Workflow {
96
96
  },
97
97
  }
98
98
  : undefined,
99
- steps: steps.map(({ id, name, ifExpression, workingDirectory, continueOnError, ...options }) => ({
99
+ steps: steps.map(({ id, name, ifExpression, workingDirectory, continueOnError, timeout, ...options }) => ({
100
100
  id,
101
101
  name,
102
102
  if: ifExpression,
103
103
  "continue-on-error": continueOnError,
104
104
  "working-directory": workingDirectory,
105
+ "timeout-minutes": timeout,
105
106
  ...options,
106
107
  })),
107
108
  outputs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/gat",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Write your GitHub Actions workflows using TypeScript",
5
5
  "bin": {
6
6
  "gat": "dist/cli.js"