1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-24 00:23:10 +00:00

ci: migrate eslint and stylelint from codacy to gh-actions

This commit is contained in:
Cotes Chung
2025-07-27 01:11:55 +08:00
parent b855e8b6b4
commit 648398c63c
2 changed files with 56 additions and 0 deletions

26
.github/workflows/lint-scss.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Lint SCSS
on:
push:
paths:
- "_sass/**/*.scss"
pull_request:
paths:
- "_sass/**/*.scss"
jobs:
lint-scss:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install Dependencies
run: npm i
- name: Lint SCSS
run: npm run lint:scss