File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 21
21
- run : npm ci
22
22
- run : |
23
23
RETURN_TAGS=$(node ./scripts/publishPackages)
24
- echo "----- ----- ----- ----- -----"
25
- echo "$RETURN_TAGS"
26
- echo "----- ----- ----- ----- -----"
27
24
echo "TAGS=$RETURN_TAGS" >> $GITHUB_ENV
28
25
env:
29
26
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -34,19 +34,17 @@ for (const path of packages) {
34
34
/* NOTE
35
35
* throw away logs with `stdio: []`
36
36
* `npm version` ignored `--silent`, no matter what, hence this measure.
37
- * `--silent` below is kept in case this ever changes.
38
37
*/
39
38
const context = { cwd : path , stdio : [ ] }
40
39
tags . push ( `${ getPackageName ( path ) } @${ nextVersion } ` )
41
40
42
- cp . execSync ( 'npm version ' + nextVersion + ' --silent' , context )
41
+ cp . execSync ( 'npm version ' + nextVersion , context )
43
42
cp . execSync (
44
43
'npm set //registry.npmjs.org/:_authToken ' +
45
- process . env . NODE_AUTH_TOKEN +
46
- ' --silent' ,
44
+ process . env . NODE_AUTH_TOKEN ,
47
45
{ cwd : path }
48
46
)
49
- cp . execSync ( 'npm publish --access=public --dry-run --silent ' , context )
47
+ cp . execSync ( 'npm publish --access=public' , context )
50
48
}
51
49
} catch ( e ) {
52
50
console . error ( e )
You can’t perform that action at this time.
0 commit comments