mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
ci: Enable caching
This commit is contained in:
parent
3732565f83
commit
63a02ec5fa
13 changed files with 105 additions and 10 deletions
|
@ -14,10 +14,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
|
||||
- name: Install libreoffice
|
||||
run: |
|
||||
sudo add-apt-repository -y ppa:libreoffice/ppa
|
||||
|
@ -47,6 +43,15 @@ jobs:
|
|||
env:
|
||||
PLUGIN_NAME: ${{ steps.plugin_name.outputs.plugin_name }}
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
cache: 'npm'
|
||||
cache-dependency-path: |
|
||||
src/package-lock.json
|
||||
src/bin/doc/package-lock.json
|
||||
node_modules/${{ steps.plugin_name.outputs.plugin_name }}/package-lock.json
|
||||
|
||||
- name: Install plugin dependencies
|
||||
run: |
|
||||
cd ./node_modules/"${PLUGIN_NAME}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue