mirror of
https://github.com/asterisk727/webpatcher.git
synced 2026-10-04 04:47:55 +03:00
chore: initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Set update schedule for GitHub Actions
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every week
|
||||
interval: "weekly"
|
||||
@@ -0,0 +1,5 @@
|
||||
root: ./
|
||||
ignore_re:
|
||||
- 'An "img" element must have an "alt" attribute, except under certain conditions'
|
||||
- 'Element "div" not allowed as child of element "label" in this context'
|
||||
- 'The "center" element is obsolete. Use CSS instead' # initialdzero
|
||||
@@ -0,0 +1,20 @@
|
||||
name: Check HTML/JS is valid
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- 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
|
||||
Reference in New Issue
Block a user