Skip to content

attempting to debug issue #4

attempting to debug issue

attempting to debug issue #4

name: Generate Environment Variables
jobs:
test:

Check failure on line 3 in .github/workflows/generate-env-variables.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate-env-variables.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Set up environment variables
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: echo "DATABASE_URL=${{ secrets.DATABASE_URL }}" >> $GITHUB_ENV
- name: Create .env file
run: echo "DATABASE_URL=${{ secrets.DATABASE_URL }}" > .env
- name: Generate Prisma Client
run: npx prisma generate
- name: Start Server
run: npm run dev & npx wait-on http://localhost:5173
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30