mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
add eslint workflow
This commit is contained in:
18
.github/workflows/eslint.yml
vendored
Normal file
18
.github/workflows/eslint.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Linting
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Lint with ESLint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Initialization
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
- run: npm install
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
timeout-minutes: 5
|
||||||
|
run: npm run lint
|
||||||
Reference in New Issue
Block a user