Skip to content

Commit dacea55

Browse files
committed
release: test cleanup
1 parent e258974 commit dacea55

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/publish-packages.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
- run: npm ci
2222
- run: |
2323
RETURN_TAGS=$(node ./scripts/publishPackages)
24-
echo "----- ----- ----- ----- -----"
25-
echo "$RETURN_TAGS"
26-
echo "----- ----- ----- ----- -----"
2724
echo "TAGS=$RETURN_TAGS" >> $GITHUB_ENV
2825
env:
2926
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

scripts/publishPackages.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,17 @@ for (const path of packages) {
3434
/* NOTE
3535
* throw away logs with `stdio: []`
3636
* `npm version` ignored `--silent`, no matter what, hence this measure.
37-
* `--silent` below is kept in case this ever changes.
3837
*/
3938
const context = { cwd: path, stdio: [] }
4039
tags.push(`${getPackageName(path)}@${nextVersion}`)
4140

42-
cp.execSync('npm version ' + nextVersion + ' --silent', context)
41+
cp.execSync('npm version ' + nextVersion, context)
4342
cp.execSync(
4443
'npm set //registry.npmjs.org/:_authToken ' +
45-
process.env.NODE_AUTH_TOKEN +
46-
' --silent',
44+
process.env.NODE_AUTH_TOKEN,
4745
{ cwd: path }
4846
)
49-
cp.execSync('npm publish --access=public --dry-run --silent', context)
47+
cp.execSync('npm publish --access=public', context)
5048
}
5149
} catch (e) {
5250
console.error(e)

0 commit comments

Comments
 (0)