mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 01:18:21 +01:00
fix: clean up repo before build
This commit is contained in:
parent
082a85644b
commit
a74cf39152
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -23,6 +23,8 @@ pipeline{
|
|||||||
sh'''
|
sh'''
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
[ -d "$WORKSPACE/node_modules" ] && rm -rf "$WORKSPACE/node_modules" || true
|
[ -d "$WORKSPACE/node_modules" ] && rm -rf "$WORKSPACE/node_modules" || true
|
||||||
|
[ -f "$WORKSPACE/package.json"] && rm "$WORKSPACE/package*.json" || true
|
||||||
|
|
||||||
npm install terser
|
npm install terser
|
||||||
npm install uglifycss
|
npm install uglifycss
|
||||||
npm install typescript@5.0
|
npm install typescript@5.0
|
||||||
|
Loading…
Reference in New Issue
Block a user