mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 07:11:52 +08:00
[Github Action]修复项目CI脚本构建失败问题
1.更改构建包管理工具为yarn 2.由于缓存的需要添加yarn.lock文件 3.删除没有用到的依赖javax.xml.bind.Element 更新core-js版本至最新后,前后端都能编译成功
This commit is contained in:
parent
e52d7d33be
commit
41cdc951e1
8
.github/workflows/yudao-ui-admin.yml
vendored
8
.github/workflows/yudao-ui-admin.yml
vendored
@ -37,14 +37,14 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node_version }}
|
node-version: ${{ matrix.node_version }}
|
||||||
cache: "pnpm"
|
cache: "yarn"
|
||||||
cache-dependency-path: yudao-ui-admin/pnpm-lock.yaml
|
cache-dependency-path: yudao-ui-admin/yarn.lock
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: pnpm install
|
run: node --version && yarn --version && yarn install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm run build:prod
|
run: yarn build:prod
|
||||||
|
|
||||||
# 查看 workflow 的文档来获取更多信息
|
# 查看 workflow 的文档来获取更多信息
|
||||||
# @see https://github.com/crazy-max/ghaction-github-pages
|
# @see https://github.com/crazy-max/ghaction-github-pages
|
||||||
|
@ -13,7 +13,6 @@ import org.activiti.bpmn.model.Process;
|
|||||||
import org.activiti.engine.impl.identity.Authentication;
|
import org.activiti.engine.impl.identity.Authentication;
|
||||||
import org.activiti.engine.impl.util.io.BytesStreamSource;
|
import org.activiti.engine.impl.util.io.BytesStreamSource;
|
||||||
|
|
||||||
import javax.xml.bind.Element;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
1
yudao-ui-admin/.gitignore
vendored
1
yudao-ui-admin/.gitignore
vendored
@ -20,4 +20,3 @@ selenium-debug.log
|
|||||||
*.local
|
*.local
|
||||||
|
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
10214
yudao-ui-admin/yarn.lock
Normal file
10214
yudao-ui-admin/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user