Skip to content

Commit

Permalink
chore: add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonrcarter committed Sep 5, 2024
1 parent ea165ab commit 0572b61
Show file tree
Hide file tree
Showing 5 changed files with 484 additions and 517 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: build/test
on:
pull_request:
branches:
- "**"
- '**'
push:
branches:
- "master"
- 'master'

jobs:
test:
runs-on: ${{ matrix.os }}
Expand All @@ -28,3 +28,13 @@ jobs:
- run: npm install
- run: ./node_modules/.bin/tree-sitter generate
- run: ./node_modules/.bin/tree-sitter test

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm run format-check
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
tree-sitter-phpdoc
==================
# tree-sitter-phpdoc

PHPDoc grammar for [tree-sitter][].

Expand All @@ -13,8 +12,8 @@ PHPDoc grammar for [tree-sitter][].

`npm test`

If this test script doesn't work for you, you can just run
`./node_modules/.bin/tree-sitter generate` and
If this test script doesn't work for you, you can just run
`./node_modules/.bin/tree-sitter generate` and
`./node_modules/.bin/tree-sitter test` manually.

#### Thanks
Expand Down
Loading

0 comments on commit 0572b61

Please sign in to comment.