Skip to content

Commit 3c3da2d

Browse files
committed
ci: add job for lintspaces
1 parent 745bb68 commit 3c3da2d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/lint-spaces.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Space Linting
2+
on:
3+
push:
4+
branches-ignore:
5+
- "dependabot/**"
6+
paths:
7+
- "**"
8+
- ".*"
9+
- ".github/workflows/lint-spaces.yml"
10+
- "!méli-mélo/compilation-gelé/**"
11+
- "!**/*.{ico,jpg,png}"
12+
- "!**/*.{eot,ttf,woff}"
13+
- "!**/*.odt"
14+
15+
pull_request:
16+
paths:
17+
- "**"
18+
- ".*"
19+
- ".github/workflows/lint-spaces.yml"
20+
- "!méli-mélo/compilation-gelé/**"
21+
- "!**/*.{ico,jpg,png}"
22+
- "!**/*.{eot,ttf,woff}"
23+
- "!**/*.odt"
24+
25+
jobs:
26+
lint-spaces:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Clone repository
31+
uses: actions/checkout@v4
32+
33+
- name: Set up Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
cache: npm
37+
38+
- name: Install Grunt
39+
run: npm i -g bower grunt-cli --force
40+
41+
- name: Install npm dependencies
42+
run: npm ci
43+
44+
- name: Lintspaces
45+
run: grunt lintspaces

0 commit comments

Comments
 (0)