Skip to content

Commit 9c15c1f

Browse files
Suppress NPM notice logs (#5)
Suppress NPM notice logs while fetching package name
1 parent d3a6452 commit 9c15c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Read version and package
8080
run: |
81-
PACKAGE_FILENAME=$(npm pack --pack-destination ./)
81+
PACKAGE_FILENAME=$(npm pack --pack-destination ./ --loglevel error)
8282
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
8383
PACKAGE_NAME=$(npm pkg get name | sed -e 's/"//g')
8484
echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV

0 commit comments

Comments
 (0)