feat(ui): app upload control #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checks for /ui directory | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- ui/** # Запускать workflow при изменениях в директории /ui | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: './ui' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm ci | |
- name: Stylelint Check | |
run: npm run stylelint:check | |
- name: Type Checking | |
run: npm run type-checking | |
- name: Run code checks | |
run: npm run code:check | |
- name: Run linting | |
run: npm run lint:check | |
- name: Run unit tests | |
run: npm run test:unit |