mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-10-28 07:40:27 +01:00
27 lines
426 B
YAML
27 lines
426 B
YAML
# This workflow lints the code in /Website, if any was committed
|
|
|
|
name: Website Lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- Website/**
|
|
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- Website/**
|
|
|
|
jobs:
|
|
weblint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@main
|
|
- run: npm install
|
|
working-directory: Website
|
|
- run: npm run lint
|
|
working-directory: Website
|