feat: setup linting CI

This commit is contained in:
FloChehab 2020-05-07 22:02:08 +02:00 committed by Florent Chehab
parent a61debebb4
commit c675ed398e
No known key found for this signature in database
GPG Key ID: 9A0CE018889EA246

21
.github/workflows/linting-code.yml vendored Normal file
View File

@ -0,0 +1,21 @@
# This workflow will do a clean install of node dependencies and check the code style
name: Linting code CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- run: npm run style