Skip to content

Commit a5876e5

Browse files
committed
chore: add .npmrc debug information
1 parent 75d6f2b commit a5876e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737

3838
- name: Configure .npmrc-public
3939
run: |
40+
if [ -z "$ARTIFACTORY_API_KEY" ] || [ -z "$ARTIFACTORY_USERNAME" ]; then
41+
echo "Error: ARTIFACTORY_API_KEY or ARTIFACTORY_USERNAME is not set"
42+
exit 1
43+
fi
4044
ARTIFACTORY_API_KEY_ENCODED=$(echo -n $ARTIFACTORY_API_KEY | base64) && cat > .npmrc-public << EOF
4145
registry=https://packages.atlassian.com/artifactory/api/npm/npm-public/
4246
@atlassian:registry=https://packages.atlassian.com/artifactory/api/npm/npm-public/

0 commit comments

Comments
 (0)