mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: 更新 github workflow,拆分粒度方便定位问题 (#10071)
This commit is contained in:
parent
759d4534d9
commit
285638248d
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [18.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
17
.github/workflows/pr-test.yml
vendored
17
.github/workflows/pr-test.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [18.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -30,11 +30,26 @@ jobs:
|
|||||||
cd packages/office-viewer
|
cd packages/office-viewer
|
||||||
npm i --legacy-peer-deps
|
npm i --legacy-peer-deps
|
||||||
cd ../../
|
cd ../../
|
||||||
|
- name: build amis-formula
|
||||||
|
run: |
|
||||||
npm run build --workspace amis-formula
|
npm run build --workspace amis-formula
|
||||||
|
- name: build amis-core
|
||||||
|
run: |
|
||||||
npm run build --workspace amis-core
|
npm run build --workspace amis-core
|
||||||
|
- name: build amis-ui
|
||||||
|
run: |
|
||||||
npm run build --workspace amis-ui
|
npm run build --workspace amis-ui
|
||||||
|
- name: build amis
|
||||||
|
run: |
|
||||||
npm run build --workspace amis
|
npm run build --workspace amis
|
||||||
|
- name: check schema.json
|
||||||
|
run: |
|
||||||
|
cp ./packages/amis/schema.json .
|
||||||
|
- name: build amis-editor-core
|
||||||
|
run: |
|
||||||
npm run build --workspace amis-editor-core
|
npm run build --workspace amis-editor-core
|
||||||
|
- name: build amis-editor
|
||||||
|
run: |
|
||||||
npm run build --workspace amis-editor
|
npm run build --workspace amis-editor
|
||||||
- name: typescript check
|
- name: typescript check
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user