Update css_lint.yml #7
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: CSS Syntax Checking | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - WaveFox-Nightly | |
| pull_request: | |
| branches: | |
| - main | |
| - WaveFox-Nightly | |
| jobs: | |
| my_job_lint-css: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check the repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| - name: Install Stylelint | |
| run: npm install -g stylelint stylelint-config-standard | |
| - name: Register Stylelint Problem Matcher | |
| uses: xt0rted/stylelint-problem-matcher@v1 | |
| - name: Run Stylelint | |
| run: | | |
| echo '{ "extends": "stylelint-config-standard" }' > .stylelintrc.json | |
| npx stylelint "**/*.css" |