web: Don't hoist in lerna bootstrap, it seems to cause issues installing CLI dependencies

This commit is contained in:
Nathan Adams 2020-05-18 01:41:35 +02:00
parent bdbb9ec7f7
commit 2f9846b05c
2 changed files with 11 additions and 2 deletions

View File

@ -58,10 +58,19 @@ jobs:
command: fmt
args: --all -- --check
- name: Build web
- name: Install web
working-directory: web
run: |
npm ci
- name: Install web/core
working-directory: web/packages/core
run: |
npm ci
- name: Build web
working-directory: web
run: |
npm run bootstrap
npx eslint .
npm run build

View File

@ -25,7 +25,7 @@
"ruffle-selfhosted": "file:packages/selfhosted"
},
"scripts": {
"bootstrap": "lerna bootstrap --hoist",
"bootstrap": "lerna bootstrap",
"build": "lerna run build --stream",
"buildProduction": "lerna run build --stream -- --mode=production",
"demo": "lerna run --scope ruffle-demo serve --stream",