Skip to content

Commit 73c1241

Browse files
try to fix stylelint for github actions
1 parent 56d0f96 commit 73c1241

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/stylelint.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: actions-hub/stylelint@master
13-
env:
14-
PATTERN: "assets/stylesheets/*.css"
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: '14'
15+
- run: yarn install
16+
- run: node_modules/.bin/stylelint "assets/stylesheets/*.css"

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"dependencies": {},
3+
"devDependencies": {
4+
"eslint": "^7.0.0",
5+
"stylelint": "^13.0.0"
6+
}
7+
}

0 commit comments

Comments
 (0)