color-name-list 13.19.2 → 13.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,20 +27,22 @@ jobs:
27
27
  run: |
28
28
  corepack enable
29
29
  corepack prepare npm@11.6.0 --activate
30
+ - name: Sort colors
31
+ run: npm run sort-colors
30
32
  - name: Build
31
33
  run: npm run build
32
34
  - run: npm test
33
35
  - name: Check for changes
34
36
  id: git-check
35
37
  run: |
36
- git diff --quiet README.md changes.svg || echo "has_changes=true" >> $GITHUB_OUTPUT
38
+ git diff --quiet src/colornames.csv README.md changes.svg || echo "has_changes=true" >> $GITHUB_OUTPUT
37
39
  - name: Commit updated README and SVG
38
40
  if: steps.git-check.outputs.has_changes == 'true'
39
41
  run: |
40
42
  git config --local user.email "action@github.com"
41
43
  git config --local user.name "GitHub Action"
42
- git add README.md changes.svg
43
- git commit -m "docs(README): update README.md and changes.svg [skip ci]"
44
+ git add src/colornames.csv README.md changes.svg
45
+ git commit -m "chore: sort colors and update docs [skip ci]"
44
46
  - name: Push changes
45
47
  if: steps.git-check.outputs.has_changes == 'true'
46
48
  uses: ad-m/github-push-action@master