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

Diff for: .github/workflows/stylelint.yml

+5-3
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"

Diff for: package.json

+7
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)