diff options
author | Nikita Krupin <krupin.nikita0110@gmail.com> | 2021-12-15 09:29:48 +0300 |
---|---|---|
committer | Nikita Krupin <krupin.nikita0110@gmail.com> | 2021-12-15 09:29:48 +0300 |
commit | 202b8c94c6f5e6cfe98b663752e5e1e92790ba52 (patch) | |
tree | b4357a097e076143e8567d6549c396c838e1e5b5 /.github | |
parent | 177b620f776ae48fda4829b54ab20e58ec530658 (diff) |
autolint action for the website
Diffstat (limited to '.github')
-rw-r--r-- | .github/weblint.yml | 28 |
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 |