Skip to content

Модуль 7 «Асинхронность в Redux» #7

Модуль 7 «Асинхронность в Redux»

Модуль 7 «Асинхронность в Redux» #7

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches: '*'
name: Project check
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- uses: actions/checkout@master
name: Checkout
- name: Install dependencies
run: |
if [ -f 'package.json' ]; then npm install; else echo 'Skip. The package.json file does not exist'; fi
- name: Run checks
run: |
if [ -f 'package.json' ]; then npm test && npm run lint; else echo 'Skip. The package.json file does not exist'; fi