Skip to content

Commit

Permalink
Run tests on Firefox and Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
rikurauhala committed Jun 1, 2024
1 parent 2c28065 commit d4b8bdc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Create .env file
run: echo "VITE_TOKEN=${{ secrets.VITE_TOKEN }}" > .env

- name: Install Dependencies
- name: Install dependencies
run: npm install

- name: Lint with ESLint
Expand All @@ -30,12 +30,18 @@ jobs:
- name: Format with Prettier
run: npm run format

- name: Run tests with Cypress
- name: Run tests with Cypress on Chrome
uses: cypress-io/github-action@v6
with:
start: npm run dev
browser: chrome

- name: Run tests with Cypress on Firefox
uses: cypress-io/github-action@v6
with:
start: npm run dev
browser: firefox

- name: Upload Cypress Screenshots
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d4b8bdc

Please sign in to comment.