feat(demo): update documentation for select component (#1518) #598
This file contains hidden or 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: demo-cd | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "apps/demo/**" | |
| - "packages/**" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build and Deploy | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| name: Use node ${{ matrix.node-version }} | |
| - uses: pnpm/action-setup@v4 | |
| name: Setup pnpm and install dependencies | |
| - name: Get current package version | |
| id: package-version | |
| uses: martinbeentjes/npm-get-version-action@v1.3.1 | |
| with: | |
| path: "apps/demo" | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Build packages | |
| run: pnpm build --filter=@dzangolab/demo | |
| env: | |
| VITE_API_BASE_URL: "https://api.monorepo.dzangolab.org" | |
| VITE_APP_TITLE: 'React Demo' | |
| VITE_APP_VERSION: ${{ steps.package-version.outputs.current-version}} | |
| VITE_APP_BUILD: 'develop' | |
| VITE_APP_COPYRIGHT_HOLDER: 'Dzango' | |
| VITE_APP_COPYRIGHT_HOLDER_URL: 'https://dzango.com' | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| clean: true | |
| folder: apps/demo/dist | |
| token: ${{ secrets.GITHUB_TOKEN }} |