Repository navigation
Add prefix option to type generation for customizable type names #19
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: Build Continues Integration | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build all packages | |
| run: npm run build | |
| - name: Verify build outputs | |
| run: | | |
| test -f packages/client/dist/index.js || (echo "Client CJS build missing" && exit 1) | |
| test -f packages/client/dist/index.mjs || (echo "Client ESM build missing" && exit 1) | |
| test -f packages/client/dist/index.d.ts || (echo "Client types missing" && exit 1) | |
| test -f packages/react/dist/index.js || (echo "React CJS build missing" && exit 1) | |
| test -f packages/react/dist/index.mjs || (echo "React ESM build missing" && exit 1) | |
| test -f packages/react/dist/index.d.ts || (echo "React types missing" && exit 1) | |
| test -f packages/cli/dist/index.mjs || (echo "CLI ESM build missing" && exit 1) | |
| test -f packages/cli/dist/index.d.ts || (echo "CLI types missing" && exit 1) | |
| echo "All build outputs verified successfully" |