[Github Action]修复项目CI脚本构建失败问题
1.更改构建包管理工具为yarn 2.由于缓存的需要添加yarn.lock文件 3.删除没有用到的依赖javax.xml.bind.Element 更新core-js版本至最新后,前后端都能编译成功pull/2/head
parent
e52d7d33be
commit
41cdc951e1
|
@ -37,14 +37,14 @@ jobs:
|
|||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
cache: "pnpm"
|
||||
cache-dependency-path: yudao-ui-admin/pnpm-lock.yaml
|
||||
cache: "yarn"
|
||||
cache-dependency-path: yudao-ui-admin/yarn.lock
|
||||
|
||||
- name: Install deps
|
||||
run: pnpm install
|
||||
run: node --version && yarn --version && yarn install
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build:prod
|
||||
run: yarn build:prod
|
||||
|
||||
# 查看 workflow 的文档来获取更多信息
|
||||
# @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.util.io.BytesStreamSource;
|
||||
|
||||
import javax.xml.bind.Element;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
|
|
@ -20,4 +20,3 @@ selenium-debug.log
|
|||
*.local
|
||||
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue