Skip to content

Commit

Permalink
configured env for cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Veeti Laine committed Jul 26, 2024
1 parent f5314f1 commit b527209
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ jobs:
- name: e2e tests
uses: cypress-io/github-action@v5
with:
command: cd frontend && npm run cypress
start: npm run start:test
wait-on: http://localhost:5000
command: cd frontend && dotenvx run -- npm run cypress
start: dotenvx run -- npm run start:test
wait-on: http://localhost:3003
env:
DOTENV_PRIVATE_KEY_CI: ${{ secrets.DOTENV_PRIVATE_KEY_CI }}
- name: deployment
if: ${{ github.event_name == 'push' }}
run: curl https://api.render.com/deploy/srv-${{ secrets.RENDER_SERVICE_ID }}?key=${{ secrets.RENDER_API_KEY }}
Expand Down

0 comments on commit b527209

Please sign in to comment.