Skip to content

Commit 005866b

Browse files
hsubox76dwyfrequency
authored andcommitted
More logging and increase memory limit (#7338)
1 parent 59f54a6 commit 005866b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release-staging.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
uses: actions/setup-node@v3
3333
with:
3434
node-version: 16.x
35+
- name: Bump Node memory limit
36+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
3537
- name: Merge master into release
3638
uses: actions/github-script@v6
3739
with:

scripts/release/utils/publish.ts

+6
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ async function publishPackageInCI(
151151
stderrText += data.toString();
152152
});
153153
await spawnPromise;
154+
if (process.env.VERBOSE_NPM_LOGGING === 'true') {
155+
console.log(`stdout for ${pkg} publish:`);
156+
console.log(stdoutText);
157+
console.log(`stderr for ${pkg} publish:`);
158+
console.error(stderrText);
159+
}
154160
return spawnPromise;
155161
} catch (err) {
156162
console.log(`Error publishing ${pkg}`);

0 commit comments

Comments
 (0)