Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
168aa578
Commit
168aa578
authored
Jan 05, 2026
by
shaw
Browse files
fix(ci): 修复前端构建使用 pnpm 而非 npm
parent
706af292
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/release.yml
View file @
168aa578
...
...
@@ -57,19 +57,24 @@ jobs:
-
name
:
Checkout
uses
:
actions/checkout@v4
-
name
:
Setup pnpm
uses
:
pnpm/action-setup@v4
with
:
version
:
9
-
name
:
Setup Node.js
uses
:
actions/setup-node@v4
with
:
node-version
:
'
20'
cache
:
'
npm'
cache-dependency-path
:
frontend/p
ackage
-lock.
json
cache
:
'
p
npm'
cache-dependency-path
:
frontend/p
npm
-lock.
yaml
-
name
:
Install dependencies
run
:
npm
c
i
run
:
p
npm i
nstall --frozen-lockfile
working-directory
:
frontend
-
name
:
Build frontend
run
:
npm run build
run
:
p
npm run build
working-directory
:
frontend
-
name
:
Upload frontend artifact
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment