fix: adapt to Prisma 7.8, fix adapter API, add initial migration #2
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: Deploy App | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "mods/**" | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - run: npm ci | |
| - name: Build webapp | |
| run: npm run build --workspace=mods/webapp | |
| - name: Build Docker image | |
| run: docker build -t qcobro-api -f mods/apiserver/Dockerfile . | |
| - name: Publish image | |
| run: echo "Wire up your registry push here (GHCR, Docker Hub, etc.)" |