mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 19:31:20 +01:00
autolint action for the website
This commit is contained in:
1 parent
177b620f77
commit
202b8c94c6
1 file changed
+28
@@ -0,0 +1,28 @@
|
|||||||
|
# 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:
|
||||||
|
lint:
|
||||||
|
|
||||||
|
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
|
||||||
Reference in new issue
Block a user