Validate javascript on PRs

This commit is contained in:
Will Toohey
2023-10-29 10:50:31 +10:00
committed by Will
parent 06d052d6ba
commit 8692ce43a8
4 changed files with 27 additions and 2 deletions
@@ -1,4 +1,4 @@
name: HTML Check
name: Check HTML/JS is valid
on:
pull_request:
@@ -9,8 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: HTML5 Validator
- name: Run HTML5 Validator
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
with:
config: ./.github/html5validator.yml
css: true
- name: Install modules for eslint
run: npm i
- name: Run ESLint
run: npx eslint . --ext .js,.html