fix auto testing workflow
This commit is contained in:
parent
9203951ec8
commit
6c71d8adf8
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ui-tests.js.yml
vendored
8
.github/workflows/ui-tests.js.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue