Skip to content

Commit 0e5f38c

Browse files
committed
fix: temporary workaround for moodlehq/moodle-plugin-ci#309
1 parent 48c820e commit 0e5f38c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gha.dist.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
sudo locale-gen en_AU.UTF-8
6565
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
6666
67+
- name: Install NVM and Node # TODO: remove this step after https://github.com/moodlehq/moodle-plugin-ci/issues/309 is fixed
68+
run: |
69+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
70+
export NVM_DIR="$HOME/.nvm"
71+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
72+
nvm install 20
73+
nvm use 20
74+
6775
- name: Install moodle-plugin-ci
6876
run: |
6977
moodle-plugin-ci install --plugin ./plugin/lbplanner --db-host=127.0.0.1

0 commit comments

Comments
 (0)