diff --git a/.github/plugin/setup/action.yml b/.github/plugin/setup/action.yml index f629ff8..09eab0d 100644 --- a/.github/plugin/setup/action.yml +++ b/.github/plugin/setup/action.yml @@ -63,6 +63,12 @@ runs: composer self-update ${{ steps.install-composer1.outputs.COMPOSER_VERSION }} shell: bash + - name: Install specific NVM version + run: | + # Install nvm v0.39.7 (temp workaround for issue https://github.com/moodlehq/moodle-plugin-ci/issues/309). + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + echo nvm -v + shell: bash - name: Initialise moodle-plugin-ci run: | # Initialise moodle-plugin-ci (install via composer) @@ -94,6 +100,10 @@ runs: # Install moodle commands echo "::group::Moodle install output" + # Install nvm v0.39.7 (temp workaround for issue https://github.com/moodlehq/moodle-plugin-ci/issues/309). + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + echo nvm -v + moodle-plugin-ci install -vvv --plugin ./plugin --db-host=127.0.0.1 echo "::endgroup::"