4ef3cd8efc
- Unchain commit-lint and CI - Even if a commit does not meet the CI path filter, it still needs to lint the commit message. - Unchain PR filter and CI - The CI workflow needs to be triggered when the commits in a pull request are modified. - Allow manual publishing - Sometimes `semantic-release` will error out due to commit messages referencing discussions, but this does not affect the final RubyGems/GitHub Release. In such cases, manual triggering of the publish process is needed to complete the remaining publishing steps.
25 lines
419 B
YAML
25 lines
419 B
YAML
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
|