chore: 更新 github workflow,拆分粒度方便定位问题 (#10071)

This commit is contained in:
吴多益 2024-04-25 10:32:54 +08:00 committed by GitHub
parent 759d4534d9
commit 285638248d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 2 deletions

View File

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

View File

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