A3 003 #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check HTML/JS is valid | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run HTML5 Validator | |
uses: Cyb3r-Jak3/[email protected] | |
with: | |
config: ./.github/html5validator.yml | |
css: true | |
- name: Install modules for eslint | |
run: npm i | |
- name: Run ESLint | |
run: npx eslint . --ext .js,.html |