mirror of
https://github.com/iipc/awesome-web-archiving.git
synced 2024-10-01 03:15:45 -04:00
Add GH Workflow Action for automated linting (#76)
This commit is contained in:
parent
be92a9373f
commit
b3a519f9de
18
.github/workflows/lint.yml
vendored
Normal file
18
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Awesome Lint
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-lint:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 12.x
|
||||||
|
- name: Install awesome-lint CLI
|
||||||
|
run: npm install -g awesome-lint
|
||||||
|
- name: Run Awesome Lint
|
||||||
|
run: awesome-lint
|
Loading…
Reference in New Issue
Block a user