mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-13 02:14:32 +01:00
add eslint workflow
This commit is contained in:
parent
43ae471038
commit
e8d5dbec3e
1 changed files with 18 additions and 0 deletions
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
|
Loading…
Reference in a new issue