fix: next 组件最新版本 TS 声明文件导出部分异常,暂时调整声明文件进行正常编译,后续组件升级后可再配合调整 #139
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre Build | |
on: | |
push: | |
paths: | |
- 'packages/**' | |
- '!packages/**.md' | |
pull_request: | |
paths: | |
- 'packages/**' | |
- '!packages/**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies and setup | |
run: npm install && npm run setup | |
- name: Build | |
run: npm run build | |
- name: Check build status | |
run: | | |
if [ $? -eq 0 ]; then | |
echo "Build succeeded!" | |
else | |
echo "Build failed!" | |
exit 1 | |
fi |