diff --git a/.github/workflows/test-build-deploy.yml b/.github/workflows/test-build-deploy.yml index a5b7d2e3..51914182 100644 --- a/.github/workflows/test-build-deploy.yml +++ b/.github/workflows/test-build-deploy.yml @@ -6,31 +6,31 @@ on: - main jobs: - run-tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: npm ci && npx playwright install --with-deps - - name: Start the development server - env: - DATABASE_URL: ${{ secrets.DATABASE_URL }} - JWT_SECRET: ${{ secrets.JWT_SECRET }} - NEXT_PUBLIC_APP_URL: http://localhost:8080 - API_URL: http://localhost:3333 - LUNARY_PUBLIC_KEY: 259d2d94-9446-478a-ae04-484de705b522 - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + # run-tests: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Install dependencies + # run: npm ci && npx playwright install --with-deps + # - name: Start the development server + # env: + # DATABASE_URL: ${{ secrets.DATABASE_URL }} + # JWT_SECRET: ${{ secrets.JWT_SECRET }} + # NEXT_PUBLIC_APP_URL: http://localhost:8080 + # API_URL: http://localhost:3333 + # LUNARY_PUBLIC_KEY: 259d2d94-9446-478a-ae04-484de705b522 + # OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - run: npm run dev:test & npx wait-on http://localhost:3333/v1/health + # run: npm run dev:test & npx wait-on http://localhost:3333/v1/health - - name: Run tests - run: npx playwright test - env: - BASE_URL: http://localhost:8080 - DATABASE_URL: ${{ secrets.DATABASE_URL }} + # - name: Run tests + # run: npx playwright test + # env: + # BASE_URL: http://localhost:8080 + # DATABASE_URL: ${{ secrets.DATABASE_URL }} build-and-push: - needs: run-tests + # needs: run-tests runs-on: ubuntu-latest steps: - name: Check out the private Ops repo