Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@factorialco/gat

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@factorialco/gat - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

dist/job.d.ts

@@ -1,5 +0,5 @@

export interface ConcurrencyGroup {
export type ConcurrencyGroup = {
groupSuffix: string;
cancelPrevious: boolean;
}
};
export interface Matrix {

@@ -32,3 +32,3 @@ elements: Array<{

env?: Record<string, string>;
concurrency?: ConcurrencyGroup;
concurrency?: ConcurrencyGroup | null;
matrix?: Matrix | string;

@@ -35,0 +35,0 @@ steps: Step[];

@@ -21,3 +21,3 @@ import { ConcurrencyGroup, Job, JobOptions, StringWithNoSpaces } from "./job";

env: EnvVar[];
concurrencyGroup?: ConcurrencyGroup;
concurrencyGroup?: ConcurrencyGroup | null;
constructor(name: string);

@@ -28,3 +28,3 @@ on<T extends EventName>(name: T, options?: EventOptions<T>): this;

setEnv(name: string, value: string): this;
setConcurrencyGroup(concurrencyGroup: ConcurrencyGroup): this;
setConcurrencyGroup(concurrencyGroup: ConcurrencyGroup | null): this;
defaultRunner(): string;

@@ -31,0 +31,0 @@ compile(filepath?: string): Promise<string | void>;

@@ -246,2 +246,16 @@ "use strict";

});
(0, vitest_1.it)("allows creating jobs with concurrency set to null", async () => {
const workflow = new workflow_1.Workflow("Without concurrency")
.on("push")
.addJob("job1", {
concurrency: null,
steps: [
{
name: "Do something",
run: "exit 0",
},
],
});
(0, vitest_1.expect)(await workflow.compile()).toMatchSnapshot();
});
});
{
"name": "@factorialco/gat",
"version": "3.0.0",
"version": "3.0.1",
"description": "Write your GitHub Actions workflows using TypeScript",

@@ -5,0 +5,0 @@ "bin": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc