Skip to content

Commit

Permalink
Use nvm 0.39.7 to overcome 0.40.0 regression
Browse files Browse the repository at this point in the history
  • Loading branch information
kabalin committed Aug 10, 2024
1 parent 3842ad1 commit b65978f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ jobs:
echo "CI_BUILD_DIR="$(cd ../moodle-local_ci; pwd) >> $GITHUB_ENV
# PHPUnit depends on en_AU.UTF-8 locale
sudo locale-gen en_AU.UTF-8
# Define NVM_DIR pointing to nvm installation.
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
# Install nvm v0.39.7 (temp workaround for issue #309).
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Install moodle-plugin-ci
run: moodle-plugin-ci install -vvv
Expand All @@ -133,6 +133,7 @@ jobs:
MUSTACHE_IGNORE_NAMES: 'broken.mustache'
MOODLE_APP: ${{ matrix.moodle-app }}


- name: Run Integration tests
env:
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
Expand Down Expand Up @@ -238,8 +239,8 @@ jobs:
echo "CI_BUILD_DIR="$(cd ../moodle-local_ci; pwd) >> $GITHUB_ENV
# PHPUnit depends on en_AU.UTF-8 locale
sudo locale-gen en_AU.UTF-8
# Define NVM_DIR pointing to nvm installation.
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
# Install nvm v0.39.7 (temp workaround for issue #309).
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Download PHAR artifact
uses: actions/download-artifact@v4
Expand Down

0 comments on commit b65978f

Please sign in to comment.