ci: Enable caching

This commit is contained in:
Richard Hansen 2022-01-27 17:47:28 -05:00
parent 3732565f83
commit 63a02ec5fa
13 changed files with 105 additions and 10 deletions

View file

@ -21,6 +21,10 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
cache: 'npm'
cache-dependency-path: |
src/package-lock.json
src/bin/doc/package-lock.json
- name: Install all dependencies and symlink for ep_etherpad-lite
run: src/bin/installDeps.sh
@ -70,6 +74,10 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
cache: 'npm'
cache-dependency-path: |
src/package-lock.json
src/bin/doc/package-lock.json
- name: Install Etherpad plugins
# The --legacy-peer-deps flag is required to work around a bug in npm v7: