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
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
cache-dependency-path: "./package-lock.json"
|
||||
|
||||
- name: Install
|
||||
shell: "bash"
|
||||
working-directory: .
|
||||
run: npm install
|
||||
|
||||
- name: Cache dist folder
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: dist/
|
||||
key: ${{ runner.os }}-dist
|
||||
|
||||
- name: Build
|
||||
shell: "bash"
|
||||
working-directory: .
|
||||
|
Reference in New Issue
Block a user