Skip to content

fix: Resolve unhandled Vitest errors in textGeneratorStore tests #319

fix: Resolve unhandled Vitest errors in textGeneratorStore tests

fix: Resolve unhandled Vitest errors in textGeneratorStore tests #319

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy to Fly.io
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run code quality checks
run: npm run verify
- name: Run tests
run: npm test
- name: Setup Fly.io CLI
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly.io
run: |
flyctl deploy --dockerfile Dockerfile --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true