From 6c71d8adf8e16903cf04201c183aa48867cbc4b7 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 7 Oct 2024 12:17:02 +0200 Subject: [PATCH] fix auto testing workflow --- .github/workflows/ui-tests.js.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ui-tests.js.yml b/.github/workflows/ui-tests.js.yml index 6f9d2201d..2223ed259 100644 --- a/.github/workflows/ui-tests.js.yml +++ b/.github/workflows/ui-tests.js.yml @@ -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