Skip to content

Commit

Permalink
Update compile
Browse files Browse the repository at this point in the history
  • Loading branch information
anandtripathi5 authored Feb 1, 2024
1 parent 18449dd commit c82a684
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ REPO_USER="$(cat $ENV_DIR/REPO_USER)"

if [ "$GITHUB_TOKEN" != "" ]; then
echo "-----> Using .npmrc to install packages from https://npm.pkg.github.com/$REPO_USER"
echo "@$REPO_USER:registry=https://npm.pkg.github.com/$REPO_USER" > "$BUILD_DIR/.npmrc"
echo "@$REPO_USER:registry=https://npm.pkg.github.com" > "$BUILD_DIR/.npmrc"
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> "$BUILD_DIR/.npmrc"
echo "//npm.pkg.github.com/$REPO_USER/:_authToken=$GITHUB_TOKEN" >> "$BUILD_DIR/.npmrc"
exit 0
fi

0 comments on commit c82a684

Please sign in to comment.