...
Some checks failed
Run Tests / Prepare environment (push) Successful in 3m49s
Run Tests / Run unit tests (push) Failing after 1m26s
Run Tests / Run E2E tests (edge) (push) Failing after 2m42s
Run Tests / Run E2E tests (chrome) (push) Failing after 22m8s
Run Tests / Run E2E tests (firefox) (push) Failing after 26m2s

This commit is contained in:
Mrrp 2025-03-06 02:27:42 -08:00
parent bf379edb16
commit 71c2584485

View file

@ -46,6 +46,12 @@ jobs:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}
- name: Cache Node modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('package-lock.json') }}
- name: Install Cypress
run: npx cypress install
@ -78,11 +84,16 @@ jobs:
name: build
path: dist
- name: Restore Node modules cache
uses: actions/cache@v4
with:
name: node-modules
- name: Run unit tests
run: npm run test:unit
cypress-tests:
name: Run E2E tests
name: Run E2E tests (${{ matrix.browser }})
runs-on: ubuntu-latest
needs: install
strategy:
@ -109,7 +120,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y ${{ env.APT_PACKAGES }}
- name: Cypress run (${{ matrix.browser }})
uses: cypress-io/github-action@v6
uses: https://github.com/cypress-io/github-action@v6
with:
start: npm start
browser: ${{ matrix.browser }}