From 0e5f38ca1462c45748ac84729ccd0bc2a35efab7 Mon Sep 17 00:00:00 2001 From: Riedler Date: Mon, 19 Aug 2024 20:39:03 +0200 Subject: [PATCH] fix: temporary workaround for https://github.com/moodlehq/moodle-plugin-ci/issues/309 --- .github/workflows/gha.dist.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/gha.dist.yml b/.github/workflows/gha.dist.yml index cfe38c9..c7c4553 100644 --- a/.github/workflows/gha.dist.yml +++ b/.github/workflows/gha.dist.yml @@ -64,6 +64,14 @@ jobs: sudo locale-gen en_AU.UTF-8 echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV + - name: Install NVM and Node # TODO: remove this step after https://github.com/moodlehq/moodle-plugin-ci/issues/309 is fixed + run: | + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + nvm install 20 + nvm use 20 + - name: Install moodle-plugin-ci run: | moodle-plugin-ci install --plugin ./plugin/lbplanner --db-host=127.0.0.1