Skip to content

Commit

Permalink
Merge pull request #35 from dead10ck/prettier
Browse files Browse the repository at this point in the history
Formatting with prettier
  • Loading branch information
fdncred authored Dec 12, 2023
2 parents 307559b + e92eb9b commit 04fa206
Show file tree
Hide file tree
Showing 7 changed files with 8,439 additions and 8,402 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push: {}
pull_request:
branches:
- main
jobs:
main:
name: install

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: git checkout
uses: actions/checkout@v4

- name: setup node.js
uses: actions/[email protected]

- name: install dependencies
run: npm install

- name: ensure formatting
run: npx prettier . --check

- name: test
run: npx tree-sitter test
Empty file added .pretterrc
Empty file.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build/
coverage/
bindings/
*.md
*.json
Loading

0 comments on commit 04fa206

Please sign in to comment.