web/.github/workflows/style-lint.yml
Cotes Chung c85e9e2394
ci: avoid trigger redundant workflows (#1682)
CodeQL and Sytle Lint
2024-04-17 06:00:36 +08:00

21 lines
354 B
YAML

name: "Style Lint"
on:
push:
branches: ["master"]
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
- run: npm i
- run: npm test