updated frontend workflow

This commit is contained in:
Андрей Бабушкин 2025-05-22 14:52:59 +02:00
parent 6f6feeb34c
commit e013cf1e07

27
.github/workflows/frontend-tests.yaml vendored Normal file
View file

@ -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