mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-10-28 07:40:27 +01:00
a748ffeb7e
* Update build action * Update comment action * Update website linter * Setup Dependabot
32 lines
535 B
YAML
32 lines
535 B
YAML
# 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:
|
|
weblint:
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
working-directory: Website
|
|
|
|
- name: Run lint
|
|
run: npm run lint
|
|
working-directory: Website
|