Skip to content

Commit e82ac4b

Browse files
Update ci workflow to Install NVM and Node
1 parent fc0726c commit e82ac4b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
ini-values: max_input_vars=5000
6161
coverage: none
6262

63+
- name: Install NVM and Node
64+
run: |
65+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
66+
export NVM_DIR="$HOME/.nvm"
67+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
68+
nvm install 20
69+
nvm use 20
70+
6371
- name: Initialise moodle-plugin-ci
6472
run: |
6573
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4

0 commit comments

Comments
 (0)