1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00
smov/.github/workflows/linting.yml

30 lines
514 B
YAML
Raw Normal View History

2022-05-02 15:10:58 +02:00
name: Linting
on:
push:
branches:
- master
2022-05-02 16:12:01 +02:00
- dev
2022-05-02 15:41:36 +02:00
pull_request_target:
2022-05-02 16:12:01 +02:00
types: [opened, reopened, synchronize]
2022-05-02 15:10:58 +02:00
jobs:
linting:
name: Run linters
runs-on: ubuntu-latest
steps:
2022-05-02 17:18:54 +02:00
- name: Checkout code
2022-05-02 15:10:58 +02:00
uses: actions/checkout@v2
2022-05-02 17:18:54 +02:00
- name: Install Node.js
2022-05-02 15:10:58 +02:00
uses: actions/setup-node@v1
with:
node-version: 16
2022-05-02 17:18:54 +02:00
- name: Install Yarn packages
2022-05-02 15:32:31 +02:00
run: yarn install
2022-05-02 17:18:54 +02:00
2022-05-02 15:10:58 +02:00
- name: Run linters
2022-05-02 17:18:54 +02:00
run: yarn lint