mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
ci: cache node deps within pipelines
This commit is contained in:
parent
8f78b57a2b
commit
137d78b53a
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
@ -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: |
|
||||||
|
2
.github/workflows/dev.yml
vendored
2
.github/workflows/dev.yml
vendored
@ -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: |
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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: |
|
||||||
|
Loading…
Reference in New Issue
Block a user