Skip to content

Модуль 3 «Nest и базы данных. MongoDB» #5

Модуль 3 «Nest и базы данных. MongoDB»

Модуль 3 «Nest и базы данных. MongoDB» #5

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@v1
with:
node-version: '16'
- uses: actions/checkout@master
name: Checkout
- name: Install dependencies
run: |
if [ -f 'package.json' ]; then npm install; else echo 'Skip. The file package.json does not exist'; fi
- name: Run checks
run: |
if [ -f 'package.json' ]; then npm run lint; else echo 'Skip. The file package.json does not exist'; fi