Merge pull request #312 from gemini-hlsw/add-tests #185
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" | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| run_stylelint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: latest | |
| - name: Install stylelint | |
| run: | | |
| npm install --save-dev stylelint stylelint-config-standard | |
| - name: Run stylelint | |
| run: npx stylelint "**/*.css" |