Skip to content

Commit bd83965

Browse files
authored
Added formatting to workflow (#4)
* Added js-beatify as dependency * Formatted src/index.js * Added CI formatting step
1 parent d373fe5 commit bd83965

File tree

4 files changed

+826
-203
lines changed

4 files changed

+826
-203
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/[email protected]
15+
- name: Check formatting with js-beautify
16+
run: |
17+
npx js-beautify -r -n "**/*.js"
18+
npx js-beautify -r -n "package.json"
19+
git diff --exit-code
1520
- run: npm install
1621
- run: npm run build
1722
- name: Run action with inclusive upper bound

0 commit comments

Comments
 (0)