Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alshdavid committed Apr 6, 2024
1 parent d082c8c commit 278a676
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/platform/install-nodejs.bash
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ if [ "$URL" == "" ]; then
fi

export PATH="${HOME}/.local/nodejs/bin:$PATH"
export PATH="${HOME}/.local/nodejs/prefix:$PATH"
export PATH="${HOME}/.local/nodejs/prefix/bin:$PATH"
export NPM_CONFIG_PREFIX=$HOME/.local/nodejs/prefix

echo "${HOME}/.local/nodejs/bin" >> $GITHUB_PATH
echo "${HOME}/.local/nodejs/prefix" >> $GITHUB_PATH
echo "${HOME}/.local/nodejs/prefix/bin" >> $GITHUB_PATH
echo "NPM_CONFIG_PREFIX=${NPM_CONFIG_PREFIX}" >> $GITHUB_PATH

mkdir -p $HOME/.local/nodejs
Expand All @@ -80,11 +80,11 @@ curl -s -L --url $URL | tar -xzf - -C $HOME/.local/nodejs --strip-components=1
# npm config set cache $HOME/.local/nodejs/cache
npm install -g pnpm npm

ls -l -a $HOME/.local/nodejs
ls -l -a $HOME/.local/nodejs/bin
ls -l -a $HOME/.local/nodejs/prefix
ls -l -a $HOME/.local/nodejs/prefix/bin
ls -l -a $HOME/.local/nodejs/cache
# ls -l -a $HOME/.local/nodejs
# ls -l -a $HOME/.local/nodejs/bin
# ls -l -a $HOME/.local/nodejs/prefix
# ls -l -a $HOME/.local/nodejs/prefix/bin
# ls -l -a $HOME/.local/nodejs/cache

npm -v
node -v
Expand Down

0 comments on commit 278a676

Please sign in to comment.