blob: eea4ec9fa5b201d1c246c8131601507dc6db1692 (
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
27
28
|
# 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
- name: npm install
run: npm install
working-directory: Website
- name: npm run lint
run: npm run lint
working-directory: Website
|