chore: speedup pipeline
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m26s
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m26s
This commit is contained in:
@@ -44,12 +44,22 @@ jobs:
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.30.3
|
||||
run_install: false
|
||||
|
||||
- name: Configure pnpm store
|
||||
run: pnpm config set store-dir /root/.pnpm-store
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Cache pnpm store
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.pnpm-store
|
||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||
restore-keys: pnpm-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
Reference in New Issue
Block a user