Skip to content

Commit 40ed560

Browse files
author
Daniel Del Core
committed
Adds better error reporting to the build and release process
1 parent 0ca0f07 commit 40ed560

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
- run: npm install -g yarn
2424
- run: yarn install --frozen-lockfile
2525
- run: yarn validate
26+
- run: yarn community:release-all-dry
2627
env:
2728
CI: true

packages/publisher/src/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export default function buildPackages(path: string, packages: string[]) {
1111
(error, stdout, stderr) => {
1212
if (error) {
1313
console.error(`exec error for package ${pkg}\n${error}`);
14+
console.error(stdout);
15+
console.error(stderr);
1416
reject(`Unable to build codeshift package: ${pkg}\n${error}`);
1517
}
1618

0 commit comments

Comments
 (0)