Skip to content

Commit bd6554d

Browse files
committed
ci: add separate job for Spaces linting
1 parent c410f40 commit bd6554d

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/lint-spaces.yml

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

0 commit comments

Comments
 (0)