Update serialized string parser to prevent null array keys #1696
Workflow file for this run
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: Stylelint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, labeled, synchronize] | |
| jobs: | |
| runStylelintInspection: | |
| if: contains(github.event.pull_request.labels.*.name, 'run analysis') | |
| name: Run Stylelint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: "22" | |
| - name: Cache dependencies | |
| id: cache-npm | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.npm | |
| node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-modules- | |
| - name: Install dependencies | |
| if: steps.cache-npm.outputs.cache-hit != 'true' | |
| run: npm ci --include=dev --legacy-peer-deps | |
| - name: Run Stylelint | |
| run: npx stylelint "**/*.{css,scss}" |