diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0491974..f8fd0ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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