Skip to content

Commit 79c3587

Browse files
committed
[Actions] Updated .github/actions/npm/action.yml
1 parent 367d7b9 commit 79c3587

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/npm/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ runs:
165165
--target-path "$OUTPUT_FOLDER" \
166166
--version "${{inputs.BUILD_VERSION}}" \
167167
--wallet "$WALLET_FILE" \
168-
--wallet-password "${{ inputs.NPM_CONTENT_PACKAGE_WALLET_PASSWORD }}"
168+
--wallet-password "${{ inputs.NPM_CONTENT_PACKAGE_WALLET_PASSWORD }}" \
169+
--optimise \
170+
--warnings-as-error
169171
env:
170172
SOURCE_FOLDER: "${{github.workspace}}/src/dist"
171173
OUTPUT_FOLDER: "${{github.workspace}}/dist"
@@ -214,7 +216,8 @@ runs:
214216
--package "$PACKAGE_FILENAME" \
215217
--package "$PACKAGE_FILENAME" \
216218
--wallet "$WALLET_FILE" \
217-
--wallet-password "${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET_PASSWORD}}"
219+
--wallet-password "${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET_PASSWORD}}" \
220+
--warnings-as-error
218221
env:
219222
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
220223
DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"

0 commit comments

Comments
 (0)