Skip to content

Commit

Permalink
prisma seeding and explicit env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ettorepuccetti committed Jul 26, 2023
1 parent 3892fdf commit 86a41c6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Cypress run
env:
DATABASE_URL: ${{vars.DATABASE_URL}}
NEXTAUTH_SECRET: ${{secrets.NEXTAUTH_SECRET}}
NEXTAUTH_URL: ${{secrets.NEXTAUTH_URL}}
AUTH0_CLIENT_ID: ${{secrets.AUTH0_CLIENT_ID}}
AUTH0_CLIENT_SECRET: ${{secrets.AUTH0_CLIENT_SECRET}}
AUTH0_ISSUER: ${{vars.AUTH0_ISSUER}}
AUTH_BASE_URL: ${{vars.AUTH_BASE_URL}}
uses: cypress-io/github-action@v5
with:
build: npm run build
start: npm start
start: npm start && npx prisma seed
browser: chrome

0 comments on commit 86a41c6

Please sign in to comment.