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