mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-11-25 15:30:01 +00:00
Feat: Linting workflow
This commit is contained in:
1 parent
b4e3bcf14b
commit
1d9611c524
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
on: push
|
||||
name: lint
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
clean: false
|
||||
|
||||
- name: Use Node.js 14
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.x
|
||||
|
||||
- name: Install deps
|
||||
run: yarn
|
||||
|
||||
- name: Run ESLint
|
||||
run: yarn lint
|
||||
env:
|
||||
CI: true
|
||||
Reference in new issue
Block a user