fix auto testing workflow

This commit is contained in:
nick-delirium 2024-10-07 12:17:02 +02:00
parent 9203951ec8
commit 6c71d8adf8
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -29,7 +29,7 @@ jobs:
matrix:
node-version: [ 18.x ]
steps:
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/checkout@v3
@ -102,11 +102,11 @@ jobs:
- name: Setup packages
run: |
cd frontend
npm install --legacy-peer-deps
yarn
- name: Run unit tests
run: |
cd frontend
npm run test:ci
yarn test:ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
@ -138,7 +138,7 @@ jobs:
- name: (Chrome) Run visual tests
run: |
cd frontend
npm run cy:test
yarn cy:test
# firefox have different viewport somehow
# - name: (Firefox) Run visual tests
# run: yarn cy:test-firefox