mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
Merge pull request #301 from mchangrh/eslint-gh-actions
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