GOATS-984 GOATS-986: Add workflow state to backend and frontend. (#466) #327
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run StyleLint | |
on: | |
pull_request: | |
paths: | |
- "src/**/*.css" | |
- ".github/workflows/run_stylelint.yaml" | |
push: | |
branches: | |
- main | |
jobs: | |
run_stylelint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v5 | |
- name: Setup Node.js | |
uses: actions/setup-node@v6 | |
with: | |
node-version: latest | |
- name: Install stylelint | |
run: | | |
npm install --save-dev stylelint stylelint-config-standard | |
- name: Run stylelint | |
run: npx stylelint "**/*.css" |