mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
perf(cli): optimize github actions deploy (#184)
This commit is contained in:
parent
b99d926c0b
commit
4907bf4b29
@ -23,11 +23,6 @@ jobs:
|
||||
{{#if (equal packageManager "pnpm")}}
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
# 选择要使用的 pnpm 版本
|
||||
version: 9
|
||||
# 使用 pnpm 安装依赖
|
||||
run_install: true
|
||||
{{/if}}
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
@ -42,6 +37,13 @@ jobs:
|
||||
run: npm ci
|
||||
{{/if}}
|
||||
|
||||
{{#if (equal packageManager "pnpm")}}
|
||||
# 安装依赖
|
||||
# Install dependencies
|
||||
- name: Install Dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
{{/if}}
|
||||
|
||||
{{#if (equal packageManager "yarn")}}
|
||||
- name: Run install
|
||||
uses: borales/actions-yarn@v4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user