[Github Action]修复项目CI脚本构建失败问题

1.更改构建包管理工具为yarn
2.由于缓存的需要添加yarn.lock文件
3.删除没有用到的依赖javax.xml.bind.Element

更新core-js版本至最新后,前后端都能编译成功
This commit is contained in:
zhouzichun 2022-02-26 17:07:27 +08:00
parent e52d7d33be
commit 41cdc951e1
5 changed files with 10218 additions and 10353 deletions

View File

@ -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

View File

@ -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;

View File

@ -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

File diff suppressed because it is too large Load Diff