Fix Vercel build: add prisma generate to build script, fix docker types #6
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 & Test | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Panel dependencies | |
| run: cd panel && npm install | |
| - name: Build Panel | |
| run: cd panel && npm run build | |
| - name: Install Daemon dependencies | |
| run: cd daemon && npm install | |
| - name: Build Daemon | |
| run: cd daemon && npm run build |