Skip to content

fix prisma

fix prisma #147

Workflow file for this run

name: Deploy to Fly
on: [push]
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm ci
- run: npm test
env:
CI: true
# e2e:
# timeout-minutes: 60
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# - name: Install dependencies
# run: npm ci
# - name: Install Playwright Browsers
# run: npx playwright install --with-deps
# - name: Run Playwright tests
# run: npm run e2e
# env:
# CI: true
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30
deploy:
name: Deploy to fiszki.fly.dev
# needs: [test, e2e]
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --env PORT='3000'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}