Skip to content

Commit 08f87a4

Browse files
committed
more logs
1 parent d346a12 commit 08f87a4

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/bin/list-workspaces/list-workspaces.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export async function listWorkspaces() {
3636
const packageJSON = JSON.parse(await fsp.readFile(packageJSONPath));
3737
const packagePath = path.relative(process.cwd(), path.dirname(packageJSONPath));
3838

39+
console.error('workspace', packagePath);
40+
3941
result.push({
4042
path: packagePath,
4143
name: packageJSON.name,

.github/bin/modified-workspaces/log-modified-workspaces.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (process.env.GITHUB_STEP_SUMMARY) {
3434
}
3535

3636
// Output modified workspaces
37-
if (modifiedWorkspaces.all) {
37+
if (modifiedWorkspaces.all || (modifiedWorkspaces.modified && modifiedWorkspaces.modified.length >= 20)) {
3838
// root package.json will take over.
3939
process.stdout.write('');
4040
process.exit(0);

.github/bin/modified-workspaces/modified-workspaces.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export async function listModifiedWorkspaces() {
6767

6868
let isNonWorkspaceFile = true;
6969
for (const workspace of workspaces) {
70+
console.error('workspace', workspace.path);
7071
if (modifiedFile.startsWith(workspace.path)) {
7172
isNonWorkspaceFile = false;
7273

0 commit comments

Comments
 (0)