fix npm deployment
This commit is contained in:
parent
34a1d7a19c
commit
a557e4d111
@ -35,6 +35,13 @@ jobs:
|
||||
# 选择要使用的 node 版本
|
||||
node-version: 20
|
||||
|
||||
{{#if (equal packageManager "npm")}}
|
||||
# 安装依赖
|
||||
# Install dependencies
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
{{/if}}
|
||||
|
||||
{{#if (equal packageManager "yarn")}}
|
||||
- name: Run install
|
||||
uses: borales/actions-yarn@v4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user