Try cache implementation (may need server-side configuration)
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 12m4s
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 12m4s
This commit is contained in:
@@ -17,17 +17,22 @@ jobs:
|
|||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: "./package-lock.json"
|
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
working-directory: .
|
working-directory: .
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
|
- name: Cache dist folder
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: dist/
|
||||||
|
key: ${{ runner.os }}-dist
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
working-directory: .
|
working-directory: .
|
||||||
|
Reference in New Issue
Block a user