Skip to content

handle all messages on the streaming engine #28

handle all messages on the streaming engine

handle all messages on the streaming engine #28

Workflow file for this run

name: Server CI
on:
push:
branches: [main]
# paths:
# - 'server/**'
pull_request:
branches: [main]
paths:
- 'packages/server/**'
jobs:
test-server:
runs-on: ubuntu-latest
# env:
# DATABASE_TEST_URL: ${{ secrets.DATABASE_TEST_URL }}
# STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
# STRIPE_PUBLISHABLE_KEY: ${{ secrets.STRIPE_PUBLISHABLE_KEY }}
steps:
- uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install server dependencies
run: cd packages/server && bun install
- name: Run unit tests
run: |
echo "🧪 Running Unit Tests..."
cd packages/server && bun run test
# - name: Run E2E tests
# run: |
# echo "🔄 Running E2E Tests..."
# cd server && bun run test:e2e
# deploy:
# needs: [test-server]
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# steps:
# - name: Deploy application
# run: echo "Add your deployment steps here"