1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

ci: avoid repeated runs of stylelint (#2057)

This commit is contained in:
Cotes Chung
2024-11-24 02:08:13 +08:00
parent 65f960c31a
commit c69914effc
3 changed files with 30 additions and 60 deletions

View File

@@ -1,25 +0,0 @@
name: Style Lint
on:
push:
branches:
- master
- "hotfix/*"
paths: ["_sass/**/*.scss"]
pull_request:
paths: ["_sass/**/*.scss"]
jobs:
stylelint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm i
- run: npm test