Skip to content

Commit 81775f5

Browse files
committed
Remove yaml line limit
1 parent c7fa0f2 commit 81775f5

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3-
## 0.1.0 (UNRELEASED)
3+
## 0.1.1 (2020-12-22)
4+
5+
* Remove yaml line limit
6+
7+
## 0.1.0 (2020-12-21)
48

59
* Initial release

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# cdkactions
22

33
![Release](https://github.com/ArmaanT/cdkactions/workflows/Release/badge.svg)
4-
54
[![codecov](https://codecov.io/gh/ArmaanT/cdkactions/branch/master/graph/badge.svg)](https://codecov.io/gh/ArmaanT/cdkactions)
65
[![NPM](https://badge.fury.io/js/cdkactions.svg)](https://badge.fury.io/js/cdkactions)
76
[![PyPI](https://badge.fury.io/py/cdkactions.svg)](https://badge.fury.io/py/cdkactions)

packages/cdkactions/src/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class Stack extends Construct {
3535
const workflowOutput = path.join(session.outdir, child.outputFile);
3636

3737
// Get raw yaml of workflow
38-
const rawYaml = yaml.safeDump(child.toGHAction());
38+
const rawYaml = yaml.safeDump(child.toGHAction(), { lineWidth: -1 });
3939

4040
// Save the formatted yaml
4141
fs.writeFileSync(workflowOutput, `# Generated by cdkactions. Do not modify\n# Generated as part of the '${this.id}' stack.\n`);

0 commit comments

Comments
 (0)