name: MDC Lint

on:
  push:
    branches:
      - master
      - develop
      - feature/**
    paths:
      - '**.js'
      - '**.ts'
      - '**.css'
      - '**.scss'
      - '**.html'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: 10
      - run: npm i
      - run: npm run lint

name: MDC Lint

on:
  pull_request:
    branches:
      - master
      - develop
      - feature/**
    paths:
      - '**.js'
      - '**.ts'
      - '**.css'
      - '**.scss'
      - '**.html'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: 10
      - run: npm i
      - run: npm run lint

Change workflow event push => pull_request
chore: Change workflow event push => pull_request
