Skip to content

Commit

Permalink
ci: add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin committed Jan 14, 2025
1 parent fdb46cc commit ac644d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ jobs:
- name: check for uncommited changes
run: git diff --exit-code
- run: npm test
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npx prettier --check *.js
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"author": "Nikita Galaiko",
"license": "MIT",
"dependencies": {
"nan": "^2.18.0"
"nan": "^2.18.0",
"prettier": "^3.4.2"
},
"devDependencies": {
"tree-sitter-cli": "^0.20.8"
Expand Down

0 comments on commit ac644d4

Please sign in to comment.