A small web app for watching movies and shows easily
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

39 lines
734 B

name: Linting
on:
push:
branches:
- master
- next
pull_request_target:
types: [opened, reopened]
# needs write to add annotations
permissions:
checks: write
contents: write
jobs:
linting:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install Node.js dependencies
run: yarn install
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_args: src
eslint_extensions: tsx,ts
eslint_auto_fix: false