ci: use node tar.gz bootstrap for runner compatibility
This commit is contained in:
parent
2d8c32741b
commit
5e85f0342d
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
;;
|
||||
esac
|
||||
node_dist="node-v${node_version}-linux-${node_arch}"
|
||||
curl -fsSL "https://nodejs.org/dist/v${node_version}/${node_dist}.tar.xz" | tar -xJ -C "$HOME/.local"
|
||||
curl -fsSL "https://nodejs.org/dist/v${node_version}/${node_dist}.tar.gz" | tar -xz -C "$HOME/.local"
|
||||
ln -sf "$HOME/.local/${node_dist}/bin/node" "$HOME/.local/bin/node"
|
||||
ln -sf "$HOME/.local/${node_dist}/bin/npm" "$HOME/.local/bin/npm"
|
||||
ln -sf "$HOME/.local/${node_dist}/bin/npx" "$HOME/.local/bin/npx"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue