diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0619da..d623662 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: php-version: ${{ matrix.php }} ini-values: max_input_vars=5000 coverage: xdebug - + - name: Initialise moodle-plugin-ci if: ${{ !cancelled() }} run: | @@ -61,8 +61,10 @@ jobs: echo $(cd ci/bin; pwd) >> $GITHUB_PATH echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH sudo locale-gen en_AU.UTF-8 - echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV - + # Install nvm v0.39.7 as a temporary 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 + - name: Install moodle-plugin-ci if: ${{ !cancelled() }} run: moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1