From 202b8c94c6f5e6cfe98b663752e5e1e92790ba52 Mon Sep 17 00:00:00 2001 From: Nikita Krupin Date: Wed, 15 Dec 2021 01:29:48 -0500 Subject: [PATCH] autolint action for the website --- .github/weblint.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/weblint.yml 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