Welcome to mirror list, hosted at ThFree Co, Russian Federation.

weblint.yml « workflows « .github - github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 84fd10c055ef81154ec2cb81d664d8b78357873c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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-latest

    steps:
    - uses: actions/checkout@main
    - run: npm install
      working-directory: Website
    - run: npm run lint
      working-directory: Website