mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 02:46:15 -04:00
CI: add --omit=dev and --only=prod flags to npm to work around bug with
hanging `git ls-remote` A better solution is needed. The bug only affects node v12 and v14
This commit is contained in:
parent
111ad5c52e
commit
5940f63fff
3 changed files with 12 additions and 4 deletions
8
.github/workflows/backend-tests.yml
vendored
8
.github/workflows/backend-tests.yml
vendored
|
@ -78,8 +78,10 @@ jobs:
|
|||
name: Install Etherpad plugins
|
||||
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
|
||||
# https://github.com/npm/cli/issues/2199
|
||||
# npm v8: --omit=dev
|
||||
# npm v6: --only=prod # can be dropped when support for v12/v14 is no longer needed
|
||||
run: >
|
||||
npm install --no-save --legacy-peer-deps
|
||||
npm install --no-save --legacy-peer-deps --only=prod --omit=dev
|
||||
ep_align
|
||||
ep_author_hover
|
||||
ep_cursortrace
|
||||
|
@ -166,8 +168,10 @@ jobs:
|
|||
name: Install Etherpad plugins
|
||||
# The --legacy-peer-deps flag is required to work around a bug in npm
|
||||
# v7: https://github.com/npm/cli/issues/2199
|
||||
# npm v8: --omit=dev
|
||||
# npm v6: --only=prod # can be dropped when support for v12/v14 is no longer needed
|
||||
run: >
|
||||
npm install --no-save --legacy-peer-deps
|
||||
npm install --no-save --legacy-peer-deps --only=prod --omit=dev
|
||||
ep_align
|
||||
ep_author_hover
|
||||
ep_cursortrace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue