Skip to content

Commit

Permalink
ci(wasm): add wasm to gh-setup-env
Browse files Browse the repository at this point in the history
  • Loading branch information
vpayno committed Nov 6, 2023
1 parent a6ee69f commit 64eddac
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/citools/common/gh-setup-env
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,26 @@ main() {

print_ruler

source /etc/profile.d/wasm.sh || track_errors

printf "Adding Ruby paths to GITHUB_PATH...\n"
printf "%s\n" "/usr/local/nodenv/bin" "/usr/local/nodenv/shims" | tee -a "${GITHUB_PATH}"

echo Adding source /etc/profile.d/wasm.sh to ~/.bashrc
echo '. /etc/profile.d/wasm.sh' | tee -a "${HOME}/.bashrc" || track_errors
printf "\n"

printf "Setup NodeJs symlinks for github user:\n"
cd "${HOME}" || track_errors
if [[ ! -d .nodenv ]]; then
ln -sv "/usr/local/nodenv" .nodenv || track_errors
fi
ls -l ~/.nodenv
cd - || track_errors
printf "\n"

print_ruler

tail -n 1000 -v "${GITHUB_PATH}"

print_ruler
Expand Down

0 comments on commit 64eddac

Please sign in to comment.