Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,49 @@
with:
token: ${{ secrets.CODECOV_TOKEN }}
- run: bun run build

install-test:
runs-on: ubuntu-latest
name: "Vite + React"

steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies & Build
run: |
bun install
bun run build:lib
- name: Create test project & install daleui
run: |
mkdir /tmp/test-project && cd /tmp/test-project
bun create vite@5 . --template react-ts
bun install
bun add "$GITHUB_WORKSPACE"
- name: Add daleui smoke test
run: |
cd /tmp/test-project
mkdir -p src/smoke
cat > src/smoke/DaleTest.tsx << 'EOF'
import { Button } from 'daleui';
export default function DaleTest() {
return (
<div data-testid="daleui-smoke">
<Button>daleui 성공적으로 로드됨!</Button>
</div>
);
}
EOF
- name: Run production build
run: |
cd /tmp/test-project
bun run build
Comment on lines +24 to +67

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "./index.css";

export { Box, type BoxProps } from "./components/Box/Box";
export { Button, type ButtonProps } from "./components/Button/Button";
export { Card } from "./components/Card/Card";
export { Checkbox, type CheckboxProps } from "./components/Checkbox/Checkbox";
Expand Down