mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-10 18:03:01 +00:00
chore: add "set -e" in build.sh
This commit is contained in:
parent
84b4c76db2
commit
a8b9b2b5e1
34
.github/workflows/pre build.yml
vendored
Normal file
34
.github/workflows/pre build.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
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
|
||||
@ -23,7 +23,7 @@ export class CommonUI implements IPublicApiCommonUI {
|
||||
Form = Form;
|
||||
Icon = Icon;
|
||||
Input = Input;
|
||||
Loading = Loading;
|
||||
Loading = Loading as any;
|
||||
Message = Message;
|
||||
Overlay = Overlay;
|
||||
Pagination = Pagination;
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
lerna run build \
|
||||
--scope @alilc/lowcode-types \
|
||||
--scope @alilc/lowcode-utils \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user