From e013cf1e07bc4b1804d44123cbddacdaeac72c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=91=D0=B0=D0=B1?= =?UTF-8?q?=D1=83=D1=88=D0=BA=D0=B8=D0=BD?= Date: Thu, 22 May 2025 14:52:59 +0200 Subject: [PATCH] updated frontend workflow --- .github/workflows/frontend-tests.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/frontend-tests.yaml diff --git a/.github/workflows/frontend-tests.yaml b/.github/workflows/frontend-tests.yaml new file mode 100644 index 000000000..9df9ef2c7 --- /dev/null +++ b/.github/workflows/frontend-tests.yaml @@ -0,0 +1,27 @@ +name: Frontend tests + +on: + pull_request: + paths: + - 'frontend/**' + - '.github/workflows/frontend-test.yaml' + - 'package.json' + - 'yarn.lock' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Install dependencies + run: yarn + + - name: Run tests + run: yarn test