chore(ci.yml): edit the ci.yml file in the folder.github/workflow/ #1
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: Tests | |
on: | |
push: | |
branches: [ feature/deployDocker ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Установка зависимостей | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Установка зависимостей | |
run: npm install | |
- name: Запуск тестов | |
run: npm run test | |
- name: Сборка проекта | |
run: npm run build |