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

@ -26,6 +26,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
shell: msys2 {0}
@ -65,6 +69,14 @@ jobs:
- name: Extract Etherpad
run: 7z x etherpad-lite-win.zip -oetherpad
- uses: actions/setup-node@v2
with:
node-version: 12
cache: 'npm'
cache-dependency-path: |
etherpad/src/package-lock.json
etherpad/src/bin/doc/package-lock.json
- name: Install Cypress
run: npm install cypress -g