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
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 10.30.3
|
version: 10.30.3
|
||||||
|
run_install: false
|
||||||
|
|
||||||
|
- name: Configure pnpm store
|
||||||
|
run: pnpm config set store-dir /root/.pnpm-store
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
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
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|||||||
Reference in New Issue
Block a user