Compare commits
2 Commits
develop
...
omit-dev-d
Author | SHA1 | Date |
---|---|---|
webzwo0i | 642e7a3d02 | |
webzwo0i | 5940f63fff |
|
@ -64,10 +64,6 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: |
|
||||
src/package-lock.json
|
||||
src/bin/doc/package-lock.json
|
||||
-
|
||||
name: Install libreoffice
|
||||
run: |
|
||||
|
@ -78,8 +74,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 +164,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
|
||||
|
|
|
@ -47,7 +47,9 @@ jobs:
|
|||
# We intentionally install an old ep_align version to test upgrades to
|
||||
# the minor version number. The --legacy-peer-deps flag is required to
|
||||
# work around a bug in npm v7: https://github.com/npm/cli/issues/2199
|
||||
run: npm install --no-save --legacy-peer-deps ep_align@0.2.27
|
||||
# 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 ep_align@0.2.27 --omit=dev --only=prod
|
||||
# Etherpad core dependencies must be installed after installing the
|
||||
# plugin's dependencies, otherwise npm will try to hoist common
|
||||
# dependencies by removing them from src/node_modules and installing them
|
||||
|
|
|
@ -37,8 +37,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 --omit=dev --only=prod
|
||||
ep_align
|
||||
ep_author_hover
|
||||
ep_cursortrace
|
||||
|
|
Loading…
Reference in New Issue