mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-21 14:47:41 +01:00
29 lines
514 B
YAML
29 lines
514 B
YAML
name: Linting
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- dev
|
|
pull_request_target:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
jobs:
|
|
linting:
|
|
name: Run linters
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Install Yarn packages
|
|
run: yarn install
|
|
|
|
- name: Run linters
|
|
run: yarn lint
|