mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
chore(gh-actions): add style-lint on CI
This commit is contained in:
22
.github/workflows/style-lint.yml
vendored
Normal file
22
.github/workflows/style-lint.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: 'Style Lint'
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '_sass/**.scss'
|
||||
pull_request:
|
||||
paths:
|
||||
- '_sass/**.scss'
|
||||
|
||||
jobs:
|
||||
stylelint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
- run: npm i
|
||||
- run: npm test
|
||||
Reference in New Issue
Block a user