Fix yarn version to use 2.4.2, otherwise yarn v3 will be used.

pull/3939/head
Julio Montoya 4 years ago
parent cf7890470c
commit 218b8e874f
  1. 2
      .github/workflows/behat.yml
  2. 0
      .yarn/releases/yarn-2.4.2.cjs
  3. 2
      .yarnrc.yml
  4. 2
      README.md
  5. 3
      package.json

@ -61,7 +61,7 @@ jobs:
- name: Install Yarn
run: |
sudo npm install -g yarn
yarn set version berry
yarn set version 2.4.2
yarn --version
- name: Get yarn cache directory

@ -4,4 +4,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
yarnPath: ".yarn/releases/yarn-berry.cjs"
yarnPath: .yarn/releases/yarn-2.4.2.cjs

@ -39,7 +39,7 @@ git clone https://github.com/chamilo/chamilo-lms.git chamilo2
cd chamilo2
composer install
yarn set version berry
yarn set version 2.4.2
yarn install
yarn run encore dev
chmod -R 777 .

@ -149,5 +149,6 @@
"vue-cli-plugin-quasar": "next",
"webpack-notifier": "^1.13.0"
},
"license": "GPL-3.0"
"license": "GPL-3.0",
"packageManager": "yarn@2.4.2"
}

Loading…
Cancel
Save