feat: setup linting CI
This commit is contained in:
parent
a61debebb4
commit
c675ed398e
21
.github/workflows/linting-code.yml
vendored
Normal file
21
.github/workflows/linting-code.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user