Skip to content

Commit

Permalink
Cypress test remove dependency on cypress-io/github-action (#3277)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Dec 5, 2022
1 parent af28528 commit 2315ff4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/cypress-test-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ jobs:
runs-on: ubuntu-latest
env:
NO_COLOR: true
TERM: xterm
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Cypress run
uses: cypress-io/github-action@v4
- name: Setup Node.js 18 environment
uses: actions/setup-node@v3
with:
browser: chrome
headed: false
config: baseUrl=https://coronawarn.app
# Only run tests in top level of integration directory
spec: cypress/e2e/*.js
node-version: 'lts/hydrogen'

- name: Install npm dependencies
run: npm ci

- name: Cypress run
run: npx cypress run -s 'cypress/e2e/*.js' -c baseUrl=https://coronawarn.app --e2e --headless --browser chrome

0 comments on commit 2315ff4

Please sign in to comment.