Skip to content

Commit

Permalink
ci(e2e): fix e2e workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Jul 1, 2024
1 parent fa7350e commit 7cfe857
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ jobs:
- name: Enable Corepack
run: corepack enable

- name: Cypress run
uses: cypress-io/github-action@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn

- run: yarn --version

- name: Install
run: yarn --immutable

- name: Run cypress tests
run: yarn workspace @zerologementvacant/e2e start
env:
CYPRESS_API: ${{ secrets.API_HOST }}
CYPRESS_BASE_URL: ${{ secrets.HOST }}
CYPRESS_API: ${{ vars.API_HOST }}
CYPRESS_BASE_URL: ${{ vars.HOST }}
CYPRESS_EMAIL: ${{ secrets.CYPRESS_EMAIL }}
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
with:
working-directory: e2e
build: false
start: yarn cypress run

0 comments on commit 7cfe857

Please sign in to comment.