Skip to content

Commit

Permalink
Add unit test to test for CSS syntax errors #141
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 10, 2024
1 parent 398eaae commit 2d9ff6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,16 @@ jobs:
@ronilaukkarinen/stylelint-a11y@^1.2.7 \
@ronilaukkarinen/stylelint-declaration-strict-value@^1.9.2 \
@ronilaukkarinen/stylelint-value-no-unknown-custom-properties@^4.0.1 \
postcss@8.4.21
postcss@8.4.21 \
postcss-cli@^10.1.0
- name: Run stylelint
run: |
npx stylelint *.css --max-warnings 0 --config .stylelintrc
- name: Validate CSS syntax
run: |
for file in *.css; do
echo "Validating $file"
npx postcss "$file" --parser postcss-safe-parser
done
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.0.5rc: 2024-11-10

* Add unit test to test for CSS syntax errors #141

### 2.0.4: 2024-10-18

* Fix hover bubble position if the button has counter
Expand Down

0 comments on commit 2d9ff6e

Please sign in to comment.