Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

fix: не заливать в основную ветку, при pull-request #2

fix: не заливать в основную ветку, при pull-request

fix: не заливать в основную ветку, при pull-request #2

Workflow file for this run

name: Test on Pull Request

Check failure on line 1 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-request.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: protect
on:
pull_request:
types:
- opened
- synchronize
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: yarn install
tests:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run tests
run: yarn test
eslint:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run eslint
run: yarn eslint
tslint:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run tslint
run: yarn tslint
prettier:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run prettier
run: yarn prettier
protect:
runs-on: ubuntu-latest
needs: [tests, eslint, tslint, prettier]