mirror of
https://github.com/iipc/awesome-web-archiving.git
synced 2025-12-18 04:44:41 +03:00
Add GH Workflow Action for automated linting (#76)
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user