From b29e7e914be9d168aae4fae448d28b3e3d48c024 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 5 May 2021 13:06:13 +1200 Subject: [PATCH] Fix node install. --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 452ea4a..9fd8407 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,7 @@ name: Moodle plugin CI for master -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +# Controls when the action will run. +on: [push, pull_request] jobs: citest: @@ -83,7 +78,6 @@ jobs: - name: Install Moodle run: | mkdir ~/.npm-global - npm config set prefix '~/.npm-global' export PATH=~/.npm-global/bin:$PATH source ~/.profile moodle-plugin-ci install -vvv --plugin ./plugin --db-host=127.0.0.1