mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-22 14:23:01 +01:00
28 lines
474 B
YAML
28 lines
474 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
|
|
- name: npm install
|
|
run: npm install
|
|
working-directory: Website
|
|
- name: npm run lint
|
|
run: npm run lint
|
|
working-directory: Website |