ci: cache node deps within pipelines

This commit is contained in:
Thomas Boerger 2024-04-28 15:06:19 +02:00
parent 8f78b57a2b
commit 137d78b53a
No known key found for this signature in database
GPG Key ID: F630596501026DB5
3 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,8 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: '16'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install go-task - name: Install go-task
run: | run: |

View File

@ -25,6 +25,8 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: '16'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install go-task - name: Install go-task
run: | run: |

View File

@ -22,6 +22,8 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '16' node-version: '16'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install go-task - name: Install go-task
run: | run: |