From 1d2109ae800867c3bc098fec5566d022957b6d7d Mon Sep 17 00:00:00 2001 From: Marcus Green Date: Tue, 20 Aug 2024 21:37:24 +0100 Subject: [PATCH] Attempted fix for the ci --- .github/workflows/moodle-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index 8f36b8e..6cfc22d 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -46,7 +46,13 @@ jobs: extensions: ${{ matrix.extensions }} ini-values: max_input_vars=5000 coverage: none - + - name: Install NVM and Node + 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: Initialise moodle-plugin-ci run: | composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3