add linting to ci

This commit is contained in:
KATT committed 2021-08-17 11:32:18 +02:00
1 parent b4b6c13cf9
commit 150bdba134
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
version: 14.x
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint