Skip to content

Commit

Permalink
chore(build): use npm ci when build enterprise-ui (#4053)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfwn authored Aug 5, 2024
1 parent a49c66a commit 090e770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ stages:
version: "1.0"
params:
build_cmd:
- cd ${{ dirs.erda-ui-enterprise }}/admin && npm i
- cd ${{ dirs.erda-ui-enterprise }}/admin && npm ci
- npm run build
- cp -r ${{ dirs.erda-ui-enterprise }}/{public,server} $WORKDIR
node_version: 14
Expand Down Expand Up @@ -120,4 +120,4 @@ stages:
tag_version: ${{ outputs.ui-version.version }}
resources:
cpu: 0.5
mem: 512
mem: 512

0 comments on commit 090e770

Please sign in to comment.