@factorialco/gat
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -8,5 +8,5 @@ export interface ConcurrencyGroup { | ||
id: string; | ||
options: any[]; | ||
options: Array<string | number | boolean>; | ||
}>; | ||
extra?: Array<Record<string, any>>; | ||
extra?: Array<Record<string, string | number | boolean>>; | ||
} | ||
@@ -13,0 +13,0 @@ export interface Service { |
@@ -14,3 +14,3 @@ export interface BaseStep { | ||
uses: string; | ||
with?: any; | ||
with?: Record<string, string | number | boolean>; | ||
} |
@@ -22,3 +22,3 @@ import { Job, JobOptions } from "./job"; | ||
addJob<T extends string>(name: T, options: JobOptions<JobStep, Runner, JobName>): Workflow<JobStep, Runner, JobName | T>; | ||
setEnv(name: string, value: any): this; | ||
setEnv(name: string, value: string): this; | ||
defaultRunner(): string; | ||
@@ -25,0 +25,0 @@ private assignRunner; |
@@ -40,3 +40,3 @@ "use strict"; | ||
const isSelfHosted = !DEFAULT_RUNNERS.includes(runnerName); | ||
return isSelfHosted ? ["self-hosted", runnerName] : [runnerName]; | ||
return isSelfHosted ? ["self-hosted", runnerName] : runnerName; | ||
} | ||
@@ -43,0 +43,0 @@ compile() { |
@@ -46,3 +46,3 @@ "use strict"; | ||
.setEnv("NODE_VERSION", "16") | ||
.setEnv("ENABLED", true) | ||
.setEnv("ENABLED", "true") | ||
.addJob("job1", { | ||
@@ -135,3 +135,3 @@ steps: [ | ||
.setEnv("NODE_VERSION", "16") | ||
.setEnv("ENABLED", true) | ||
.setEnv("ENABLED", "true") | ||
.addJob("job1", { | ||
@@ -138,0 +138,0 @@ steps: [ |
{ | ||
"name": "@factorialco/gat", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "TODO", | ||
@@ -18,3 +18,6 @@ "bin": { | ||
"test": "vitest", | ||
"coverage": "vitest run --coverage" | ||
"coverage": "vitest run --coverage", | ||
"lint": "eslint src/**/*.ts", | ||
"format": "prettier --write .", | ||
"format:check": "prettier --check ." | ||
}, | ||
@@ -25,3 +28,8 @@ "author": "David Morcillo <david.morcillo@factorial.co>", | ||
"@types/lodash": "^4.14.184", | ||
"@typescript-eslint/eslint-plugin": "^5.35.1", | ||
"@typescript-eslint/parser": "^5.35.1", | ||
"commander": "^9.4.0", | ||
"eslint": "^8.23.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"prettier": "2.7.1", | ||
"typescript": "^4.7.4", | ||
@@ -28,0 +36,0 @@ "vitest": "^0.18.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15770
9