diff --git a/.github/workflows/CI-ubuntu.yml b/.github/workflows/CI-ubuntu.yml index 64164c52f..b0f0063c5 100644 --- a/.github/workflows/CI-ubuntu.yml +++ b/.github/workflows/CI-ubuntu.yml @@ -27,11 +27,22 @@ jobs: image: ubuntu:18.04 steps: + - name: Use node 16 + run: | + apt update && apt -y install wget + touch "$HOME/.bashrc" + wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" + nvm install 16.9.1 + mv /__e/node20/bin/node /__e/node20/bin/node.bak + ln -s node /__e/node20/bin/node + - name: Check free space run: | df -h - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: |