diff options
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 |