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:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
node-version: [18.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
|
17
.github/workflows/pr-test.yml
vendored
17
.github/workflows/pr-test.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
node-version: [18.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
@ -30,11 +30,26 @@ jobs:
|
||||
cd packages/office-viewer
|
||||
npm i --legacy-peer-deps
|
||||
cd ../../
|
||||
- name: build amis-formula
|
||||
run: |
|
||||
npm run build --workspace amis-formula
|
||||
- name: build amis-core
|
||||
run: |
|
||||
npm run build --workspace amis-core
|
||||
- name: build amis-ui
|
||||
run: |
|
||||
npm run build --workspace amis-ui
|
||||
- name: build amis
|
||||
run: |
|
||||
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
|
||||
- name: build amis-editor
|
||||
run: |
|
||||
npm run build --workspace amis-editor
|
||||
- name: typescript check
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user