Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/weblint.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/weblint.yml b/.github/weblint.yml
new file mode 100644
index 0000000..400353b
--- /dev/null
+++ b/.github/weblint.yml
@@ -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 \ No newline at end of file