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