Skip to content

Commit 5da3e71

Browse files
committed
ci: install node latest
1 parent 4d9a32f commit 5da3e71

File tree

2 files changed

+1224
-1
lines changed

2 files changed

+1224
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ jobs:
4444
curl -sL https://deb.nodesource.com/setup_14.x -o /tmp/nodesource_setup.sh # For nodejs
4545
sudo bash /tmp/nodesource_setup.sh
4646
apt-get update
47-
apt-get install -y git gcc-9 g++-9 nodejs
47+
apt-get install -y git gcc-9 g++-9
48+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
49+
source ~/.bashrc
50+
nvm install node
4851
4952
- name: Install aarch64-linux-gnu
5053
if: ${{ matrix.platform == 'linux-arm64' }}

0 commit comments

Comments
 (0)